43#if !defined(DISABLE_PREDEFINED_UNITS) || \
44 defined(ENABLE_PREDEFINED_ANGULAR_VELOCITY_UNITS)
45UNIT_ADD(angular_velocity, radians_per_second, radians_per_second, rad_per_s,
49UNIT_ADD(angular_velocity, turns_per_second, turns_per_second, tps,
52 unit<
std::ratio<2, 60>, radians_per_second,
std::ratio<1>>)
53UNIT_ADD(angular_velocity, milliarcseconds_per_year, milliarcseconds_per_year,
59using namespace angular_velocity;
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:371
typename units::detail::inverse_impl< U >::type inverse
represents the inverse unit type of class U.
Definition: base.h:1136
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition: base.h:1436
Implement std::hash so that hash_code can be used in STL containers.
Definition: array.h:89
Unit Conversion Library namespace.
Definition: temperature.h:31
degrees_per_second
Definition: angular_velocity.h:47
degrees
Definition: angle.h:43
compound_unit< angle::degrees, inverse< time::seconds > > rpm
Definition: angular_velocity.h:51
compound_unit< angle::degrees, inverse< time::seconds > > revolutions_per_minute
Definition: angular_velocity.h:51
UNIT_ADD(temperature, kelvin, kelvin, K, unit< std::ratio< 1 >, units::category::temperature_unit >) UNIT_ADD(temperature
deg_per_s
Definition: angular_velocity.h:47
Class representing SI base unit types.
Definition: base.h:759
Type representing an arbitrary unit.
Definition: base.h:886