42#if !defined(DISABLE_PREDEFINED_UNITS) || \
43 defined(ENABLE_PREDEFINED_PRESSURE_UNITS)
45 pressure, pascal, pascals, Pa,
50 unit<
std::ratio<101325>, pascals>)
51UNIT_ADD(pressure, pounds_per_square_inch, pounds_per_square_inch, psi,
58using namespace pressure;
typename units::detail::inverse_impl< U >::type inverse
represents the inverse unit type of class U.
Definition base.h:1138
typename units::detail::squared_impl< U >::type squared
represents the unit type of class U squared
Definition base.h:1169
typename units::detail::prefix< std::milli, U >::type milli
Represents the type of class U with the metric 'milli' prefix appended.
Definition base.h:1486
typename units::detail::prefix< std::kilo, U >::type kilo
Represents the type of class U with the metric 'kilo' prefix appended.
Definition base.h:1491
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition base.h:1438
Implement std::hash so that hash_code can be used in STL containers.
Definition PointerIntPair.h:280
Unit Conversion Library namespace.
Definition acceleration.h:33
atm
Definition pressure.h:49
atmosphere
Definition pressure.h:49
atmospheres
Definition pressure.h:49
pounds
Definition mass.h:44
Class representing SI base unit types.
Definition base.h:761
Type representing an arbitrary unit.
Definition base.h:888
#define UNIT_ADD(namespaceName, nameSingular, namePlural, abbreviation,...)
Macro for generating the boiler-plate code needed for a new unit.
Definition base.h:290
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition base.h:373
#define UNIT_ADD_WITH_METRIC_PREFIXES(namespaceName, nameSingular, namePlural, abbreviation,...)
Macro for generating the boiler-plate code needed for a new unit, including its metric prefixes from ...
Definition base.h:399