refl-cpp
refl::trait::contains< T, type_list< Ts... > > Struct Template Reference

Checks whether T is contained in the list of types. More...

#include <refl.hpp>

Detailed Description

template<typename T, typename... Ts>
struct refl::trait::contains< T, type_list< Ts... > >

Checks whether T is contained in the list of types.

Inherits from std::bool_constant<>.

contains<int, type_list<int, float>>::value -> true
contains<double, type_list<int, float>>::value -> false

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