Templa 0.0.1-alpha
C++ Metaprogramming Utilities
Loading...
Searching...
No Matches
templa::type_list_contains< T, Ts > Struct Template Reference

Check if a type list contains a given type. More...

#include <type_list.hpp>

Static Public Attributes

static constexpr bool value = (std::is_same_v<T, Ts> || ...)
 True if T is in Ts...

Detailed Description

template<typename T, typename... Ts>
struct templa::type_list_contains< T, Ts >

Check if a type list contains a given type.

Template Parameters
TType to check.
TsTypes to search in.

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