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:1134
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition: base.h:1434
Unit Conversion Library namespace.
Definition: current.h:31
UNIT_ADD(area, square_meter, square_meters, sq_m, unit< std::ratio< 1 >, units::category::area_unit >) UNIT_ADD(area
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:758
Type representing an arbitrary unit.
Definition: base.h:884