Returns the index of the element in Tuple with the specified type.
More...
#include <TupleLookupByTag.h>
Returns the index of the element in Tuple with the specified type.
| Extractor | extract the candidate type from a Tuple element |
| Target | the type being sought |
| Tuple | tuple-like data structure containing types. |
Given a tuple-like type Tuple, this traits returns the index of the one element type which "contains" the target type Target. For example:
IntegersIndex will hold value 1, pointing to the container in tuple_t with int as value_type.
If the target type is not present, or if it is present more than once, a compilation error will ensue.
Definition at line 255 of file TupleLookupByTag.h.
1.8.11