22template <
typename _type,
class _ratio = std::ratio<1>>
27template <
typename _type>
29template <
typename _type>
31template <
typename _type>
33template <
typename _type>
35template <
typename _type>
37template <
typename _type>
39template <
typename _type>
41template <
typename _type>
43template <
typename _type>
45template <
typename _type>
47template <
typename _type>
49template <
typename _type>
51template <
typename _type>
58template <
typename _ratio>
70template <
typename _type,
class _ratio = std::ratio<1>>
73 const unit_t<
'O', std::ratio<1>, _type, _ratio> &resistance) {
75 scalar / resistance.
value()};
79inline namespace literals {
constexpr auto operator/(const _type &lhs, const unit_t< _symbol, _exponent, _rhs_type, _ratio > &rhs)
Definition unit.h:491
Definition absorbed_dose.h:18
#define BUILD_UNIT_FROM_DIVISION(RESULTING_UNIT_T, DIVIDEND_UNIT_T, DIVISOR_UNIT_T)
Definition operator_helpers.h:22
interface class for number
Definition number_parser.h:111
Compile time string provider for conversion of unit types to strings.
Definition unit_symbol.h:21
base template class for holding values of type _type to be multiplied with a ratio _ratio
Definition unit.h:51
constexpr _type value() const
returns the stored value as raw type
Definition unit.h:100
Base struct. Unusable needs template overloading.
Definition unit_symbol.h:64