Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::integer_sequence_index_of< Sequence, Value, bool > Struct Template Reference

Trait for the index of the first occurrence of a value in a std::integer_sequence. More...

Detailed Description

template<typename Sequence, typename Sequence::value_type Value, bool = integer_sequence_contains_v<Sequence, Value>>
struct arene::base::integer_sequence_index_of< Sequence, Value, bool >

Trait for the index of the first occurrence of a value in a std::integer_sequence.

The result is stored in the value member if it is found, otherwise the member value is not provided.

Template Parameters
Sequencethe sequence to search
valuethe value to search for
Precondition
Sequence must be an instantiation of std::integer_sequence.

The documentation for this struct was generated from the following file: