IndexInIndexSequence< I, SEQUENCE > Struct Template Reference

#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.

静态公共属性

static const Int   value
static const Bool   found

Member Data Documentation

◆  value

const Int value static

◆  found

const Bool found static