IndexInIndexSequence< I, SEQUENCE > Struct Template Reference

#include <sequence_utilities.h>

Detailed Description

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
IValue to search for.
SEQUENCEAn std::index_sequence type.

Static Public Attributes

static const Int value
static const Bool found

Member Data Documentation

◆ value

const Int value

◆ found

const Bool found