KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches

◆ get_index_of_label()

auto kumi::get_index_of_label ( )
inlineconsteval

Helper to retrieve the index of a type in a product type by its identifier.

Note
This function does not participate in overload resolution if the product type has several instances of the same identifier or has no identifier at all.
Returns
the index of the element whose identifier matches Id in the product type if it exists