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>)
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:369
typename units::detail::prefix< std::milli, U >::type milli
Represents the type of class U with the metric 'milli' prefix appended.
Definition: base.h:1482
Unit Conversion Library namespace.
Definition: data.h:31
UNIT_ADD_WITH_METRIC_PREFIXES(solid_angle, steradian, steradians, sr, unit< std::ratio< 1 >, units::category::solid_angle_unit >) UNIT_ADD(solid_angle
squared< angle::degrees > UNIT_ADD(solid_angle, spat, spats, sp, unit< std::ratio< 4 >, steradians, std::ratio< 1 > >) using namespace solid_angle
deg
Definition: angle.h:43
degrees
Definition: angle.h:43
degree
Definition: angle.h:43
Class representing SI base unit types.
Definition: base.h:757
Type representing an arbitrary unit.
Definition: base.h:884