
23 Sep
2010
23 Sep
'10
9:33 a.m.
Is there a type trait that defines both is_arithmetic and is_enum together? (not is_scalar though) I find I'm doing this often: BOOST_STATIC_ASSERT(boost::is_arithmetic<Integer>::value == true || boost::is_enum<Integer>::value == true); which lead me to wondering if there was a more granular trait which included the two