Hosts the index of type FindType in the list of types AmongTypes. More...
#include <ProviderPack.h>
Hosts the index of type FindType in the list of types AmongTypes.
| FindType | the type to find |
| AmongTypes | the list of types |
If FindType type is not any of AmongTypes typesm a compilation error message (static assertion) is issued. Otherwise, the class has a value member pointing to the index of FindType among AmongTypes. This value is suct that this assertion is valid:
std::is_same<
FindType,
typename std::tuple_element<
index_with_type<FindType, AmongTypes...>::value,
std::tuple<AmongTypes...>
>
>::value
Definition at line 55 of file ProviderPack.h.
1.8.11