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