40#if !defined(DISABLE_PREDEFINED_UNITS) || defined(ENABLE_PREDEFINED_MASS_UNITS)
43UNIT_ADD(mass, metric_ton, metric_tons, t,
unit<
std::ratio<1000>, kilograms>)
45 unit<
std::ratio<45359237, 100000000>, kilograms>)
52 unit<
std::ratio<145939029, 10000000>, kilograms>)
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:381
Definition: StdDeque.h:50
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
UNIT_ADD_WITH_METRIC_PREFIXES(current, ampere, amperes, A, unit< std::ratio< 1 >, units::category::current_unit >) using namespace current
pounds
Definition: mass.h:44
pound
Definition: mass.h:44
Class representing SI base unit types.
Definition: base.h:758
Type representing an arbitrary unit.
Definition: base.h:884