LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Literal constants for space quantities. More...
Functions | |
constexpr meter | operator""_m (long double v) |
Literal meter value. More... | |
constexpr meter | operator""_m (unsigned long long int v) |
Literal meter value. More... | |
constexpr kilometer | operator""_km (long double v) |
Literal kilometer value. More... | |
constexpr kilometer | operator""_km (unsigned long long int v) |
Literal kilometer value. More... | |
constexpr centimeter | operator""_cm (long double v) |
Literal centimeter value. More... | |
constexpr centimeter | operator""_cm (unsigned long long int v) |
Literal centimeter value. More... | |
constexpr millimeter | operator""_mm (long double v) |
Literal millimeter value. More... | |
constexpr millimeter | operator""_mm (unsigned long long int v) |
Literal millimeter value. More... | |
constexpr micrometer | operator""_um (long double v) |
Literal micrometer value. More... | |
constexpr micrometer | operator""_um (unsigned long long int v) |
Literal micrometer value. More... | |
constexpr nanometer | operator""_nm (long double v) |
Literal nanometer value. More... | |
constexpr nanometer | operator""_nm (unsigned long long int v) |
Literal nanometer value. More... | |
constexpr picometer | operator""_pm (long double v) |
Literal picometer value. More... | |
constexpr picometer | operator""_pm (unsigned long long int v) |
Literal picometer value. More... | |
constexpr femtometer | operator""_fm (long double v) |
Literal femtometer value. More... | |
constexpr femtometer | operator""_fm (unsigned long long int v) |
Literal femtometer value. More... | |
Literal constants for space quantities.
These functions allow a simplified syntax for specifying a space quantity. In order to use these, their namespace must be used:
constexpr centimeter util::quantities::space_literals::operator""_cm | ( | long double | v | ) |
Literal centimeter value.
Definition at line 578 of file spacetime.h.
constexpr centimeter util::quantities::space_literals::operator""_cm | ( | unsigned long long int | v | ) |
Literal centimeter value.
Definition at line 582 of file spacetime.h.
constexpr femtometer util::quantities::space_literals::operator""_fm | ( | long double | v | ) |
Literal femtometer value.
Definition at line 638 of file spacetime.h.
constexpr femtometer util::quantities::space_literals::operator""_fm | ( | unsigned long long int | v | ) |
Literal femtometer value.
Definition at line 642 of file spacetime.h.
constexpr kilometer util::quantities::space_literals::operator""_km | ( | long double | v | ) |
Literal kilometer value.
Definition at line 566 of file spacetime.h.
constexpr kilometer util::quantities::space_literals::operator""_km | ( | unsigned long long int | v | ) |
Literal kilometer value.
Definition at line 570 of file spacetime.h.
constexpr meter util::quantities::space_literals::operator""_m | ( | long double | v | ) |
Literal meter value.
Definition at line 554 of file spacetime.h.
constexpr meter util::quantities::space_literals::operator""_m | ( | unsigned long long int | v | ) |
Literal meter value.
Definition at line 558 of file spacetime.h.
constexpr millimeter util::quantities::space_literals::operator""_mm | ( | long double | v | ) |
Literal millimeter value.
Definition at line 590 of file spacetime.h.
constexpr millimeter util::quantities::space_literals::operator""_mm | ( | unsigned long long int | v | ) |
Literal millimeter value.
Definition at line 594 of file spacetime.h.
constexpr nanometer util::quantities::space_literals::operator""_nm | ( | long double | v | ) |
Literal nanometer value.
Definition at line 614 of file spacetime.h.
constexpr nanometer util::quantities::space_literals::operator""_nm | ( | unsigned long long int | v | ) |
Literal nanometer value.
Definition at line 618 of file spacetime.h.
constexpr picometer util::quantities::space_literals::operator""_pm | ( | long double | v | ) |
Literal picometer value.
Definition at line 626 of file spacetime.h.
constexpr picometer util::quantities::space_literals::operator""_pm | ( | unsigned long long int | v | ) |
Literal picometer value.
Definition at line 630 of file spacetime.h.
constexpr micrometer util::quantities::space_literals::operator""_um | ( | long double | v | ) |
Literal micrometer value.
Definition at line 602 of file spacetime.h.
constexpr micrometer util::quantities::space_literals::operator""_um | ( | unsigned long long int | v | ) |
Literal micrometer value.
Definition at line 606 of file spacetime.h.