|
thermo 1.0.0
Type-safe temperature handling library modeled after std::chrono
|
User-defined literals for temperature types. More...
Functions | |
| template<char... Digits> | |
| constexpr thermo::celsius | operator""_c () |
| Literal for celsius (e.g., 25_c). | |
| template<char... Digits> | |
| constexpr thermo::decicelsius | operator""_dc () |
| Literal for decicelsius (e.g., 250_dc). | |
| template<char... Digits> | |
| constexpr thermo::millicelsius | operator""_mc () |
| Literal for millicelsius (e.g., 25000_mc). | |
| template<char... Digits> | |
| constexpr thermo::kelvin | operator""_k () |
| Literal for kelvin (e.g., 298_k). | |
| template<char... Digits> | |
| constexpr thermo::decikelvin | operator""_dk () |
| Literal for decikelvin (e.g., 2980_dk). | |
| template<char... Digits> | |
| constexpr thermo::millikelvin | operator""_mk () |
| Literal for millikelvin (e.g., 298000_mk). | |
| template<char... Digits> | |
| constexpr thermo::fahrenheit | operator""_f () |
| Literal for fahrenheit (e.g., 77_f). | |
| template<char... Digits> | |
| constexpr thermo::decifahrenheit | operator""_df () |
| Literal for decifahrenheit (e.g., 770_df). | |
| template<char... Digits> | |
| constexpr thermo::millifahrenheit | operator""_mf () |
| Literal for millifahrenheit (e.g., 77000_mf). | |
| template<char... Digits> | |
| constexpr thermo::delta_celsius | operator""_Δc () |
| Literal for delta_celsius (e.g., 5_Δc). | |
| template<char... Digits> | |
| constexpr thermo::delta_millicelsius | operator""_Δmc () |
| Literal for delta_millicelsius (e.g., 5000_Δmc). | |
| template<char... Digits> | |
| constexpr thermo::delta_kelvin | operator""_Δk () |
| Literal for delta_kelvin (e.g., 5_Δk). | |
| template<char... Digits> | |
| constexpr thermo::delta_millikelvin | operator""_Δmk () |
| Literal for delta_millikelvin (e.g., 5000_Δmk). | |
| template<char... Digits> | |
| constexpr thermo::delta_fahrenheit | operator""_Δf () |
| Literal for delta_fahrenheit (e.g., 9_Δf). | |
| template<char... Digits> | |
| constexpr thermo::delta_millifahrenheit | operator""_Δmf () |
| Literal for delta_millifahrenheit (e.g., 9000_Δmf). | |
User-defined literals for temperature types.
|
constexpr |
Literal for delta_celsius (e.g., 5_Δc).
Definition at line 1122 of file thermo.hpp.
|
constexpr |
Literal for delta_fahrenheit (e.g., 9_Δf).
Definition at line 1146 of file thermo.hpp.
|
constexpr |
Literal for delta_kelvin (e.g., 5_Δk).
Definition at line 1134 of file thermo.hpp.
|
constexpr |
Literal for delta_millicelsius (e.g., 5000_Δmc).
Definition at line 1128 of file thermo.hpp.
|
constexpr |
Literal for delta_millifahrenheit (e.g., 9000_Δmf).
Definition at line 1152 of file thermo.hpp.
|
constexpr |
Literal for delta_millikelvin (e.g., 5000_Δmk).
Definition at line 1140 of file thermo.hpp.
|
constexpr |
Literal for celsius (e.g., 25_c).
Definition at line 1068 of file thermo.hpp.
|
constexpr |
Literal for decicelsius (e.g., 250_dc).
Definition at line 1074 of file thermo.hpp.
|
constexpr |
Literal for decifahrenheit (e.g., 770_df).
Definition at line 1110 of file thermo.hpp.
|
constexpr |
Literal for decikelvin (e.g., 2980_dk).
Definition at line 1092 of file thermo.hpp.
|
constexpr |
Literal for fahrenheit (e.g., 77_f).
Definition at line 1104 of file thermo.hpp.
|
constexpr |
Literal for kelvin (e.g., 298_k).
Definition at line 1086 of file thermo.hpp.
|
constexpr |
Literal for millicelsius (e.g., 25000_mc).
Definition at line 1080 of file thermo.hpp.
|
constexpr |
Literal for millifahrenheit (e.g., 77000_mf).
Definition at line 1116 of file thermo.hpp.
|
constexpr |
Literal for millikelvin (e.g., 298000_mk).
Definition at line 1098 of file thermo.hpp.