Type trait to get the index of a type in a tuple.
More...
template<class T, class Tuple>
struct Ikarus::traits::Index< T, Tuple >
Usage:
using foo_t = std::tuple<int, double, float>;
Type trait to get the index of a type in a tuple.
Definition: traits.hh:259
If the type is not found, the returned index is the size of the tuple.
- Template Parameters
-
T | Type to find in the tuple. |
Tuple | Tuple type. |
The documentation for this struct was generated from the following file: