Variable ripple::index_of_v¶
Defined in File type_traits.hpp
Variable Documentation¶
-
template<typename
T
, typename ...Ts
>
constexpr boolripple
::
index_of_v
= detail::IndexOf<0, T, Ts...>::value¶ Returns the index of the type T in the pack Ts.
If T is not in the pack, this will return sizeof…(Ts) + 1. It will also return false for types with template types, unless they match exactly.
- Template Parameters
T
: The type to search for the index of.Ts
: The list of types to search in.