Macro BOOST_UNITS_DEFINE_CONVERSION_OFFSETBOOST_UNITS_DEFINE_CONVERSION_OFFSET SynopsisBOOST_UNITS_DEFINE_CONVERSION_OFFSET(From, To, type_, value_) DescriptionMacro to define the offset between two absolute units. Requires the value to be in the destination units e.g BOOST_UNITS_DEFINE_CONVERSION_OFFSET(celsius_base_unit, fahrenheit_base_unit, double, 32.0); |