cmoon::is_any_of


Defined in module <cmoon.type_traits>


template<typename T, typename... Ts>
struct is_any_of : public std::disjunction<std::is_same<T, Ts>...> {};


(1)

If T is the same as any of the types in Ts..., its member constant value is true. Otherwise, its member constant value is false.

Helper variable template




template<typename T, typename... Ts>
constexpr bool is_any_of_v = is_any_of<T, Ts...>::value;