41#if !defined(DISABLE_PREDEFINED_UNITS) || defined(ENABLE_PREDEFINED_AREA_UNITS)
42UNIT_ADD(area, square_meter, square_meters, sq_m,
49UNIT_ADD(area, hectare, hectares, ha,
unit<
std::ratio<10000>, square_meters>)
typename units::detail::squared_impl< U >::type squared
represents the unit type of class U squared
Definition: base.h:1168
FMT_CONSTEXPR auto length(const Char *s) -> size_t
Definition: base.h:460
Implement std::hash so that hash_code can be used in STL containers.
Definition: array.h:89
Unit Conversion Library namespace.
Definition: temperature.h:31
square_kilometer
Definition: area.h:47
square_kilometers
Definition: area.h:47
sq_km
Definition: area.h:47
UNIT_ADD(temperature, kelvin, kelvin, K, unit< std::ratio< 1 >, units::category::temperature_unit >) UNIT_ADD(temperature
Class representing SI base unit types.
Definition: base.h:760
Type representing an arbitrary unit.
Definition: base.h:887
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition: base.h:372