Literal constants for frequency quantities. More...
Functions | |
constexpr hertz | operator""_Hz (long double v) |
Literal hertz value. More... | |
constexpr hertz | operator""_Hz (unsigned long long int v) |
constexpr kilohertz | operator""_kHz (long double v) |
Literal kilohertz value. More... | |
constexpr kilohertz | operator""_kHz (unsigned long long int v) |
constexpr megahertz | operator""_MHz (long double v) |
Literal megahertz value. More... | |
constexpr megahertz | operator""_MHz (unsigned long long int v) |
constexpr gigahertz | operator""_GHz (long double v) |
Literal gigahertz value. More... | |
constexpr gigahertz | operator""_GHz (unsigned long long int v) |
Literal constants for frequency quantities.
These functions allow a simplified syntax for specifying a frequency quantity. In order to use these, their namespace must be used:
constexpr gigahertz util::quantities::frequency_literals::operator""_GHz | ( | long double | v | ) |
Literal gigahertz value.
Definition at line 158 of file frequency.h.
constexpr gigahertz util::quantities::frequency_literals::operator""_GHz | ( | unsigned long long int | v | ) |
Definition at line 160 of file frequency.h.
constexpr hertz util::quantities::frequency_literals::operator""_Hz | ( | long double | v | ) |
Literal hertz value.
Definition at line 134 of file frequency.h.
constexpr hertz util::quantities::frequency_literals::operator""_Hz | ( | unsigned long long int | v | ) |
Definition at line 136 of file frequency.h.
constexpr kilohertz util::quantities::frequency_literals::operator""_kHz | ( | long double | v | ) |
Literal kilohertz value.
Definition at line 142 of file frequency.h.
constexpr kilohertz util::quantities::frequency_literals::operator""_kHz | ( | unsigned long long int | v | ) |
Definition at line 144 of file frequency.h.
constexpr megahertz util::quantities::frequency_literals::operator""_MHz | ( | long double | v | ) |
Literal megahertz value.
Definition at line 150 of file frequency.h.
constexpr megahertz util::quantities::frequency_literals::operator""_MHz | ( | unsigned long long int | v | ) |
Definition at line 152 of file frequency.h.