System::TestPredicates::TypeTraits::AreFPandArithmetic typedef

AreFPandArithmetic typedef

Verifica che T1 sia aritmetico e T2 sia a virgola mobile, o viceversa. In tal caso, imposta il membro value su true, altrimenti è 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) >

Vedi anche