boost::units::get_system<unit< Dim, System >> — Get the system of a unit.
// In header: <boost/units/get_system.hpp> template<typename Dim, typename System> struct get_system<, > { // types typedef System ; };