Literal constants for energy quantities. More...
Functions | |
constexpr electronvolt | operator""_eV (long double v) |
Literal electronvolt value. More... | |
constexpr electronvolt | operator""_eV (unsigned long long int v) |
constexpr microelectronvolt | operator""_ueV (long double v) |
Literal microelectronvolt value. More... | |
constexpr microelectronvolt | operator""_ueV (unsigned long long int v) |
constexpr millielectronvolt | operator""_meV (long double v) |
Literal millielectronvolt value. More... | |
constexpr millielectronvolt | operator""_meV (unsigned long long int v) |
constexpr kiloelectronvolt | operator""_keV (long double v) |
Literal kilovolt value. More... | |
constexpr kiloelectronvolt | operator""_keV (unsigned long long int v) |
constexpr megaelectronvolt | operator""_MeV (long double v) |
Literal megaelectronvolt value. More... | |
constexpr megaelectronvolt | operator""_MeV (unsigned long long int v) |
constexpr gigaelectronvolt | operator""_GeV (long double v) |
Literal gigaelectronvolt value. More... | |
constexpr gigaelectronvolt | operator""_GeV (unsigned long long int v) |
constexpr teraelectronvolt | operator""_TeV (long double v) |
Literal teraelectronvolt value. More... | |
constexpr teraelectronvolt | operator""_TeV (unsigned long long int v) |
Literal constants for energy quantities.
These functions allow a simplified syntax for specifying a energy quantity. In order to use these, their namespace must be used:
constexpr electronvolt util::quantities::energy_literals::operator""_eV | ( | long double | v | ) |
Literal electronvolt value.
Definition at line 166 of file energy.h.
constexpr electronvolt util::quantities::energy_literals::operator""_eV | ( | unsigned long long int | v | ) |
Definition at line 168 of file energy.h.
constexpr gigaelectronvolt util::quantities::energy_literals::operator""_GeV | ( | long double | v | ) |
Literal gigaelectronvolt value.
Definition at line 206 of file energy.h.
constexpr gigaelectronvolt util::quantities::energy_literals::operator""_GeV | ( | unsigned long long int | v | ) |
Definition at line 208 of file energy.h.
constexpr kiloelectronvolt util::quantities::energy_literals::operator""_keV | ( | long double | v | ) |
Literal kilovolt value.
Definition at line 190 of file energy.h.
constexpr kiloelectronvolt util::quantities::energy_literals::operator""_keV | ( | unsigned long long int | v | ) |
Definition at line 192 of file energy.h.
constexpr millielectronvolt util::quantities::energy_literals::operator""_meV | ( | long double | v | ) |
Literal millielectronvolt value.
Definition at line 182 of file energy.h.
constexpr millielectronvolt util::quantities::energy_literals::operator""_meV | ( | unsigned long long int | v | ) |
Definition at line 184 of file energy.h.
constexpr megaelectronvolt util::quantities::energy_literals::operator""_MeV | ( | long double | v | ) |
Literal megaelectronvolt value.
Definition at line 198 of file energy.h.
constexpr megaelectronvolt util::quantities::energy_literals::operator""_MeV | ( | unsigned long long int | v | ) |
Definition at line 200 of file energy.h.
constexpr teraelectronvolt util::quantities::energy_literals::operator""_TeV | ( | long double | v | ) |
Literal teraelectronvolt value.
Definition at line 214 of file energy.h.
constexpr teraelectronvolt util::quantities::energy_literals::operator""_TeV | ( | unsigned long long int | v | ) |
Definition at line 216 of file energy.h.
constexpr microelectronvolt util::quantities::energy_literals::operator""_ueV | ( | long double | v | ) |
Literal microelectronvolt value.
Definition at line 174 of file energy.h.
constexpr microelectronvolt util::quantities::energy_literals::operator""_ueV | ( | unsigned long long int | v | ) |
Definition at line 176 of file energy.h.