boost::units::is_quantity<quantity< Unit, Y >>
// In header: <boost/units/is_quantity.hpp> template<typename Unit, typename Y> struct is_quantity<quantity< Unit, Y >> { };