|
thermo 2.1.1
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 1142 of file thermo.hpp.
|
constexpr |
Literal for delta_fahrenheit (e.g., 9_Δf).
Definition at line 1166 of file thermo.hpp.
|
constexpr |
Literal for delta_kelvin (e.g., 5_Δk).
Definition at line 1154 of file thermo.hpp.
|
constexpr |
Literal for delta_millicelsius (e.g., 5000_Δmc).
Definition at line 1148 of file thermo.hpp.
|
constexpr |
Literal for delta_millifahrenheit (e.g., 9000_Δmf).
Definition at line 1172 of file thermo.hpp.
|
constexpr |
Literal for delta_millikelvin (e.g., 5000_Δmk).
Definition at line 1160 of file thermo.hpp.
|
constexpr |
Literal for celsius (e.g., 25_c).
Definition at line 1088 of file thermo.hpp.
|
constexpr |
Literal for decicelsius (e.g., 250_dc).
Definition at line 1094 of file thermo.hpp.
|
constexpr |
Literal for decifahrenheit (e.g., 770_df).
Definition at line 1130 of file thermo.hpp.
|
constexpr |
Literal for decikelvin (e.g., 2980_dk).
Definition at line 1112 of file thermo.hpp.
|
constexpr |
Literal for fahrenheit (e.g., 77_f).
Definition at line 1124 of file thermo.hpp.
|
constexpr |
Literal for kelvin (e.g., 298_k).
Definition at line 1106 of file thermo.hpp.
|
constexpr |
Literal for millicelsius (e.g., 25000_mc).
Definition at line 1100 of file thermo.hpp.
|
constexpr |
Literal for millifahrenheit (e.g., 77000_mf).
Definition at line 1136 of file thermo.hpp.
|
constexpr |
Literal for millikelvin (e.g., 298000_mk).
Definition at line 1118 of file thermo.hpp.