boost::units::is_quantity — check that a type is a quantity
template<typename T> struct is_quantity { };