51#if !defined(DISABLE_PREDEFINED_UNITS) || \
52 defined(ENABLE_PREDEFINED_RADIATION_UNITS)
54 unit<std::ratio<1>, units::frequency::hertz>)
60UNIT_ADD(radiation, curie, curies, Ci,
unit<
std::ratio<37>, gigabecquerels>)
62 unit<
std::ratio<1>, megabecquerels>)
68using namespace radiation;
typename units::detail::inverse_impl< U >::type inverse
represents the inverse unit type of class U.
Definition base.h:1138
typename units::detail::compound_impl< U, Us... >::type compound_unit
Represents a unit type made up from other units.
Definition base.h:1438
Implement std::hash so that hash_code can be used in STL containers.
Definition PointerIntPair.h:280
Unit Conversion Library namespace.
Definition acceleration.h:33
compound_unit< energy::joules, inverse< mass::kilogram > > rd
Definition radiation.h:61
grays
Definition radiation.h:56
Gy
Definition radiation.h:56
gray
Definition radiation.h:56
compound_unit< energy::joules, inverse< mass::kilogram > > rutherford
Definition radiation.h:61
compound_unit< energy::joules, inverse< mass::kilogram > > rutherfords
Definition radiation.h:61
Type representing an arbitrary unit.
Definition base.h:888
#define UNIT_ADD(namespaceName, nameSingular, namePlural, abbreviation,...)
Macro for generating the boiler-plate code needed for a new unit.
Definition base.h:290
#define UNIT_ADD_CATEGORY_TRAIT(unitCategory)
Macro to create the is_category_unit type trait.
Definition base.h:373
#define UNIT_ADD_WITH_METRIC_PREFIXES(namespaceName, nameSingular, namePlural, abbreviation,...)
Macro for generating the boiler-plate code needed for a new unit, including its metric prefixes from ...
Definition base.h:399