boost::units::is_quantity — Check that a type is a quantity.
// In header: <boost/units/is_quantity.hpp> template<typename T> struct is_quantity : public false_ { };