using boost::units; typedef make_scaled_unit<si::pressure, scale<10, static_rational< 9>::type gpa_unit; gpa_unit GPa; quantity<gpa_unit> p(1.*GPa); //or p(1.*si::giga*si::pascal);the question is, is there a simpler way of doing this? for example,
::type gpa_unit;