boost::units::is_quantity_of_system — Check that a type is a quantity in a specified system.
// In header: <boost/units/is_quantity_of_system.hpp> template<typename T, typename System> struct is_quantity_of_system { };