22 template <
typename _type,
class _ratio = std::ratio<1>>
27 template <
typename _type>
29 template <
typename _type>
31 template <
typename _type>
33 template <
typename _type>
35 template <
typename _type>
37 template <
typename _type>
39 template <
typename _type>
41 template <
typename _type>
43 template <
typename _type>
45 template <
typename _type>
47 template <
typename _type>
49 template <
typename _type>
51 template <
typename _type>
58 template <
typename _ratio>
68 template <
typename _type,
class _ratio = std::ratio<1>>
73 const unit_t<
'O', std::ratio<1>, _type, _ratio> &resistance) {
75 scalar / resistance.
value()};
79 inline namespace literals {
BUILD_UNIT_FROM_DIVISION(electric_conductance_t, electric_current_t, electric_potential_t) template< typename _type
constexpr auto operator/(const _type &lhs, const unit_t< _symbol, _exponent, _rhs_type, _ratio > &rhs)
Definition: unit.h:491
Definition: absorbed_dose.h:18
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