Arene Base
Fundamental Utilities For Safety Critical C++
Loading...
Searching...
No Matches
arene::base::is_one_of< T, Ts > Class Template Reference

Query if the type 'T' is one of the list of types 'Ts...'. More...

Inheritance diagram for arene::base::is_one_of< T, Ts >:
Inheritance graph

Additional Inherited Members

- Public Types inherited from std::integral_constant< bool, is_one_of_v< T, Ts... > >
using type
 The type of this class.
 
using value_type
 The type of the value.
 
- Public Member Functions inherited from std::integral_constant< bool, is_one_of_v< T, Ts... > >
constexpr operator value_type () const noexcept
 Implicit conversion to Type.
 
constexpr auto operator() () const noexcept -> value_type
 Nullary function call operator.
 
- Static Public Attributes inherited from std::integral_constant< bool, is_one_of_v< T, Ts... > >
static constexpr value_type value
 The constant.
 

Detailed Description

template<typename T, typename... Ts>
class arene::base::is_one_of< T, Ts >

Query if the type 'T' is one of the list of types 'Ts...'.

Inherits from std::true_type if 'T' is a member of the set 'Ts...', otherwise inherits from std::false_type.

Template Parameters
TThe type to search for in TL.
TLThe TypeList to search in for T.

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