System::TestPredicates::TypeTraits::AreFPandArithmetic typedef

AreFPandArithmetic typedef

T1 が算術型で T2 が浮動小数点型であるか、またはその逆であることをチェックします。該当する場合、value メンバーを true に設定し、そうでない場合は false に設定します。

using System::TestPredicates::TypeTraits::AreFPandArithmetic =  std::integral_constant<bool, (std::is_floating_point<T1>::value && std::is_arithmetic<T2>::value) || (std::is_arithmetic<T1>::value && std::is_floating_point<T2>::value) >

参照