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

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

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
staticconstexpr
Initial value:
=
std::is_same<FirstType, SecondType>::value ||
AnyTypesMatch<FirstType, OtherTypes...>::value ||
AnyTypesMatch<SecondType, OtherTypes...>::value
static constexpr bool value
True if any of the argument types match, false otherwise.
Definition: reflection.h:54

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