#include <sequence_utilities.h>
详细描述
template<size_t I, typename SEQUENCE>
struct maxon::IndexInIndexSequence< I, SEQUENCE >
IndexInIndexSequence
finds the index of I in the template type SEQENCE which has to be an std::index_sequence type. The index can be found in the member
value
of
IndexInIndexSequence
. If there is no unique such index because I doesn't exist at all in SEQUENCE or exists more than once, a negative value is used.
-
Template Parameters
-
I
|
Value to search for.
|
SEQUENCE
|
An std::index_sequence type.
|