System::TestPredicates::TypeTraits::AnyOfDecimal typedef

AnyOfDecimal typedef

检查至少有一个类型参数是 System::Decimal。如果是,则将 value 成员设为 true,否则为 false。

using System::TestPredicates::TypeTraits::AnyOfDecimal =  std::integral_constant<bool, std::is_same<T1, System::Decimal>::value || std::is_same<T2, System::Decimal>::value>

另见