Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
ext::index_in< T, Ts > Struct Template Reference

Trait to get index of type T is in a types pack. The trait provides field value set to an integral value equal to the position of type T is in the pack of types Ts ..., sizeof ... ( Ts ) otherwise. More...

Detailed Description

template<typename T, typename ... Ts>
struct ext::index_in< T, Ts >

Trait to get index of type T is in a types pack. The trait provides field value set to an integral value equal to the position of type T is in the pack of types Ts ..., sizeof ... ( Ts ) otherwise.

Template Parameters
Tthe type to look for
Ts... the types pack to look in

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