boost::units::reduce_unit — Returns a unique type for every unit.
// In header: <boost/units/reduce_unit.hpp> template<typename Unit> struct reduce_unit { // types typedef unspecified type; };