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