fennec
Loading...
Searching...
No Matches
Type Sequences

This header is part of the metaprogramming library. It defines structures for sequences of types, used during compile time.

Syntax Description

typename first_element<ValueT, Values...>::type
first_element_t<ValueT, Values...>

Get the first element of a template parameter pack.

Template Parameters
TypesTthe Parameter Pack

typename replace_first_element<ClassT, SubT, OriginT, RestT...>::type

Take a Template with a Pack ClassT<ArgsT...> and replace the first ArgT of ArgsT... with SubT


is_unique<TypesT...>::value
is_unique_v<TypesT...>

Checks if all types in a type sequence are unique.

Template Parameters
TsThe type sequence to check