System::AnyTypesMatch< FirstType, SecondType, OtherTypes... > Struct Template Reference

Static Public Attributes

static constexpr bool value
 True if any of the argument types match, false otherwise. More...
 

Detailed Description

template<typename FirstType, typename SecondType, typename ... OtherTypes>
struct System::AnyTypesMatch< FirstType, SecondType, OtherTypes... >

Checks if any of argument types match (via std::is_same).

Template Parameters
FirstTypeFirst type to check.
SecondTypeSecond type to check.
OtherTypesOther types to check.

Member Data Documentation

◆ value

template<typename FirstType , typename SecondType , typename ... OtherTypes>
constexpr bool System::AnyTypesMatch< FirstType, SecondType, OtherTypes... >::value
static
Initial value:
=
std::is_same<FirstType, SecondType>::value ||
AnyTypesMatch<FirstType, OtherTypes...>::value ||
AnyTypesMatch<SecondType, OtherTypes...>::value

True if any of the argument types match, false otherwise.