40#if !defined(DISABLE_PREDEFINED_UNITS) || defined(ENABLE_PREDEFINED_POWER_UNITS)
43UNIT_ADD(power, horsepower, horsepower, hp,
unit<
std::ratio<7457, 10>, watts>)
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:381
#define UNIT_ADD_DECIBEL(namespaceName, nameSingular, abbreviation)
Macro to create decibel container and literals for an existing unit type.
Definition: base.h:329
Unit Conversion Library namespace.
Definition: angle.h:31
UNIT_ADD_WITH_METRIC_PREFIXES(angle, radian, radians, rad, unit< std::ratio< 1 >, units::category::angle_unit >) UNIT_ADD(angle
unit< std::ratio< 1, 180 >, radians, std::ratio< 1 > > UNIT_ADD(angle, arcsecond, arcseconds, arcsec, unit< std::ratio< 1, 60 >, arcminutes >) using namespace angle
Class representing SI base unit types.
Definition: base.h:769
Type representing an arbitrary unit.
Definition: base.h:896