42#if !defined(DISABLE_PREDEFINED_UNITS) || \
43 defined(ENABLE_PREDEFINED_VELOCITY_UNITS)
44UNIT_ADD(velocity, meters_per_second, meters_per_second, mps,
48UNIT_ADD(velocity, miles_per_hour, miles_per_hour, mph,
58using namespace velocity;
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:381
typename units::detail::inverse_impl< U >::type inverse
represents the inverse unit type of class U.
Definition: base.h:1145
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition: base.h:1445
Unit Conversion Library namespace.
Definition: magnetic_flux.h:31
UNIT_ADD(moment_of_inertia, kilogram_square_meter, kilogram_square_meters, kg_sq_m, compound_unit< mass::kilograms, area::square_meters >) using namespace moment_of_inertia
compound_unit< length::feet, inverse< time::seconds > > kph
Definition: velocity.h:50
fps
Definition: velocity.h:46
nauticalMiles
Definition: length.h:48
compound_unit< length::feet, inverse< time::seconds > > kilometers_per_hour
Definition: velocity.h:50
feet_per_second
Definition: velocity.h:46
Class representing SI base unit types.
Definition: base.h:769
Type representing an arbitrary unit.
Definition: base.h:895