|
quanta 0.1.0
Type-safe units for temperature, frequency, electrical and spatial quantities, modeled after std::chrono
|
Functions | |
| template<char... Digits> | |
| constexpr quanta::thermo::celsius | operator""_c () |
| Literal for celsius (e.g., 25_c). | |
| template<char... Digits> | |
| constexpr quanta::thermo::decicelsius | operator""_dc () |
| Literal for decicelsius (e.g., 250_dc). | |
| template<char... Digits> | |
| constexpr quanta::thermo::millicelsius | operator""_mc () |
| Literal for millicelsius (e.g., 25000_mc). | |
| template<char... Digits> | |
| constexpr quanta::thermo::kelvin | operator""_k () |
| Literal for kelvin (e.g., 298_k). | |
| template<char... Digits> | |
| constexpr quanta::thermo::decikelvin | operator""_dk () |
| Literal for decikelvin (e.g., 2980_dk). | |
| template<char... Digits> | |
| constexpr quanta::thermo::millikelvin | operator""_mk () |
| Literal for millikelvin (e.g., 298000_mk). | |
| template<char... Digits> | |
| constexpr quanta::thermo::fahrenheit | operator""_f () |
| Literal for fahrenheit (e.g., 77_f). | |
| template<char... Digits> | |
| constexpr quanta::thermo::decifahrenheit | operator""_df () |
| Literal for decifahrenheit (e.g., 770_df). | |
| template<char... Digits> | |
| constexpr quanta::thermo::millifahrenheit | operator""_mf () |
| Literal for millifahrenheit (e.g., 77000_mf). | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_celsius | operator""_delta_c () |
Literal for delta_celsius (e.g., 5_delta_c); ASCII spelling of _Δc. | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_millicelsius | operator""_delta_mc () |
Literal for delta_millicelsius (e.g., 5000_delta_mc); ASCII spelling of _Δmc. | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_kelvin | operator""_delta_k () |
Literal for delta_kelvin (e.g., 5_delta_k); ASCII spelling of _Δk. | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_millikelvin | operator""_delta_mk () |
Literal for delta_millikelvin (e.g., 5000_delta_mk); ASCII spelling of _Δmk. | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_fahrenheit | operator""_delta_f () |
Literal for delta_fahrenheit (e.g., 9_delta_f); ASCII spelling of _Δf. | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_millifahrenheit | operator""_delta_mf () |
Literal for delta_millifahrenheit (e.g., 9000_delta_mf); ASCII spelling of _Δmf. | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_celsius | operator""_Δc () |
| Literal for delta_celsius (e.g., 5_Δc). | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_millicelsius | operator""_Δmc () |
| Literal for delta_millicelsius (e.g., 5000_Δmc). | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_kelvin | operator""_Δk () |
| Literal for delta_kelvin (e.g., 5_Δk). | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_millikelvin | operator""_Δmk () |
| Literal for delta_millikelvin (e.g., 5000_Δmk). | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_fahrenheit | operator""_Δf () |
| Literal for delta_fahrenheit (e.g., 9_Δf). | |
| template<char... Digits> | |
| constexpr quanta::thermo::delta_millifahrenheit | operator""_Δmf () |
| Literal for delta_millifahrenheit (e.g., 9000_Δmf). | |
|
constexpr |
Literal for delta_celsius (e.g., 5_Δc).
Unavailable on GCC before 14 (see QUANTA_HAS_UTF8_LITERALS); use _delta_c there.
Definition at line 1394 of file thermo.hpp.
|
constexpr |
Literal for delta_fahrenheit (e.g., 9_Δf).
Unavailable on GCC before 14 (see QUANTA_HAS_UTF8_LITERALS); use _delta_f there.
Definition at line 1422 of file thermo.hpp.
|
constexpr |
Literal for delta_kelvin (e.g., 5_Δk).
Unavailable on GCC before 14 (see QUANTA_HAS_UTF8_LITERALS); use _delta_k there.
Definition at line 1408 of file thermo.hpp.
|
constexpr |
Literal for delta_millicelsius (e.g., 5000_Δmc).
Unavailable on GCC before 14 (see QUANTA_HAS_UTF8_LITERALS); use _delta_mc there.
Definition at line 1401 of file thermo.hpp.
|
constexpr |
Literal for delta_millifahrenheit (e.g., 9000_Δmf).
Unavailable on GCC before 14 (see QUANTA_HAS_UTF8_LITERALS); use _delta_mf there.
Definition at line 1429 of file thermo.hpp.
|
constexpr |
Literal for delta_millikelvin (e.g., 5000_Δmk).
Unavailable on GCC before 14 (see QUANTA_HAS_UTF8_LITERALS); use _delta_mk there.
Definition at line 1415 of file thermo.hpp.
|
constexpr |
Literal for celsius (e.g., 25_c).
Definition at line 1302 of file thermo.hpp.
|
constexpr |
Literal for decicelsius (e.g., 250_dc).
Definition at line 1308 of file thermo.hpp.
|
constexpr |
Literal for delta_celsius (e.g., 5_delta_c); ASCII spelling of _Δc.
Definition at line 1356 of file thermo.hpp.
|
constexpr |
Literal for delta_fahrenheit (e.g., 9_delta_f); ASCII spelling of _Δf.
Definition at line 1380 of file thermo.hpp.
|
constexpr |
Literal for delta_kelvin (e.g., 5_delta_k); ASCII spelling of _Δk.
Definition at line 1368 of file thermo.hpp.
|
constexpr |
Literal for delta_millicelsius (e.g., 5000_delta_mc); ASCII spelling of _Δmc.
Definition at line 1362 of file thermo.hpp.
|
constexpr |
Literal for delta_millifahrenheit (e.g., 9000_delta_mf); ASCII spelling of _Δmf.
Definition at line 1386 of file thermo.hpp.
|
constexpr |
Literal for delta_millikelvin (e.g., 5000_delta_mk); ASCII spelling of _Δmk.
Definition at line 1374 of file thermo.hpp.
|
constexpr |
Literal for decifahrenheit (e.g., 770_df).
Definition at line 1344 of file thermo.hpp.
|
constexpr |
Literal for decikelvin (e.g., 2980_dk).
Definition at line 1326 of file thermo.hpp.
|
constexpr |
Literal for fahrenheit (e.g., 77_f).
Definition at line 1338 of file thermo.hpp.
|
constexpr |
Literal for kelvin (e.g., 298_k).
Definition at line 1320 of file thermo.hpp.
|
constexpr |
Literal for millicelsius (e.g., 25000_mc).
Definition at line 1314 of file thermo.hpp.
|
constexpr |
Literal for millifahrenheit (e.g., 77000_mf).
Definition at line 1350 of file thermo.hpp.
|
constexpr |
Literal for millikelvin (e.g., 298000_mk).
Definition at line 1332 of file thermo.hpp.