|
frequency 1.0.0
Type-safe frequency handling library modeled after std::chrono
|
User-defined literals for frequency types. More...
Functions | |
| template<char... Digits> | |
| constexpr freq::millihertz | operator""_mHz () |
| Literal for millihertz (e.g., 1000_mHz). | |
| template<char... Digits> | |
| constexpr freq::hertz | operator""_Hz () |
| Literal for hertz (e.g., 1000_Hz). | |
| template<char... Digits> | |
| constexpr freq::kilohertz | operator""_kHz () |
| Literal for kilohertz (e.g., 80_kHz). | |
| template<char... Digits> | |
| constexpr freq::megahertz | operator""_MHz () |
| Literal for megahertz (e.g., 80_MHz). | |
| template<char... Digits> | |
| constexpr freq::gigahertz | operator""_GHz () |
| Literal for gigahertz (e.g., 2_GHz). | |
| template<char... Digits> | |
| constexpr freq::terahertz | operator""_THz () |
| Literal for terahertz (e.g., 1_THz). | |
User-defined literals for frequency types.
|
constexpr |
Literal for gigahertz (e.g., 2_GHz).
Definition at line 1259 of file frequency.hpp.
|
constexpr |
Literal for hertz (e.g., 1000_Hz).
Definition at line 1241 of file frequency.hpp.
|
constexpr |
Literal for kilohertz (e.g., 80_kHz).
Definition at line 1247 of file frequency.hpp.
|
constexpr |
Literal for millihertz (e.g., 1000_mHz).
Definition at line 1235 of file frequency.hpp.
|
constexpr |
Literal for megahertz (e.g., 80_MHz).
Definition at line 1253 of file frequency.hpp.
|
constexpr |
Literal for terahertz (e.g., 1_THz).
Definition at line 1265 of file frequency.hpp.