40#if !defined(DISABLE_PREDEFINED_UNITS) || defined(ENABLE_PREDEFINED_ANGLE_UNITS)
44 unit<
std::ratio<1, 180>, radians,
std::ratio<1>>)
47 unit<
std::ratio<1, 60>, arcminutes>)
48UNIT_ADD(angle, milliarcsecond, milliarcseconds, mas,
milli<arcseconds>)
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
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
degrees
Definition angle.h:43
degree
Definition angle.h:43
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