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

Trait to test whether type T is in a types pack. The trait provides field value set to true if the type T is in pack of types Ts ..., false othervise. More...

#include <type_traits.hpp>

Inheritance diagram for ext::index_in< T, T, Ts ... >:
[legend]
Collaboration diagram for ext::index_in< T, T, Ts ... >:
[legend]

Detailed Description

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

Trait to test whether type T is in a types pack. The trait provides field value set to true if the type T is in pack of types Ts ..., false othervise.

Specialisation for non-empty pack where the first type in the pack is the same as the tested type, in which case the field is set to true.

Template Parameters
Tthe type to look for

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