System::TestPredicates::TypeTraits::AreFPandArithmetic टाइपडिफ़

AreFPandArithmetic typedef

जाँचता है कि T1 अंकगणितीय है और T2 फ्लोटिंग पॉइंट है, या इसके विपरीत। यदि ऐसा है, तो वैल्यू सदस्य को 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) >

संबंधित देखें