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: BFloat16.h:88
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
pounds
Definition: mass.h:44
UNIT_ADD_WITH_METRIC_PREFIXES(magnetic_flux, weber, webers, Wb, unit< std::ratio< 1 >, units::category::magnetic_flux_unit >) UNIT_ADD(magnetic_flux
pound
Definition: mass.h:44
Class representing SI base unit types.
Definition: base.h:769
Type representing an arbitrary unit.
Definition: base.h:895