System::TestPredicates::TypeTraits::AreFPandArithmetic typedef

AreFPandArithmetic typedef

Kontrollerar att T1 är aritmetisk och T2 är flyttal, eller omvänt. Om så är fallet sätts värdemedlemmen till true, annars är den 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) >

Se även