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) |
constexpr kilometer | operator""_km (long double v) |
Literal kilometer value. More... | |
constexpr kilometer | operator""_km (unsigned long long int v) |
constexpr centimeter | operator""_cm (long double v) |
Literal centimeter value. More... | |
constexpr centimeter | operator""_cm (unsigned long long int v) |
constexpr millimeter | operator""_mm (long double v) |
Literal millimeter value. More... | |
constexpr millimeter | operator""_mm (unsigned long long int v) |
constexpr micrometer | operator""_um (long double v) |
Literal micrometer value. More... | |
constexpr micrometer | operator""_um (unsigned long long int v) |
constexpr nanometer | operator""_nm (long double v) |
Literal nanometer value. More... | |
constexpr nanometer | operator""_nm (unsigned long long int v) |
constexpr picometer | operator""_pm (long double v) |
Literal picometer value. More... | |
constexpr picometer | operator""_pm (unsigned long long int v) |
constexpr femtometer | operator""_fm (long double v) |
Literal femtometer value. More... | |
constexpr femtometer | operator""_fm (unsigned long long int v) |
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 563 of file spacetime.h.
constexpr centimeter util::quantities::space_literals::operator""_cm | ( | unsigned long long int | v | ) |
Definition at line 565 of file spacetime.h.
constexpr femtometer util::quantities::space_literals::operator""_fm | ( | long double | v | ) |
Literal femtometer value.
Definition at line 603 of file spacetime.h.
constexpr femtometer util::quantities::space_literals::operator""_fm | ( | unsigned long long int | v | ) |
Definition at line 605 of file spacetime.h.
constexpr kilometer util::quantities::space_literals::operator""_km | ( | long double | v | ) |
Literal kilometer value.
Definition at line 555 of file spacetime.h.
constexpr kilometer util::quantities::space_literals::operator""_km | ( | unsigned long long int | v | ) |
Definition at line 557 of file spacetime.h.
constexpr meter util::quantities::space_literals::operator""_m | ( | long double | v | ) |
Literal meter value.
Definition at line 547 of file spacetime.h.
constexpr meter util::quantities::space_literals::operator""_m | ( | unsigned long long int | v | ) |
Definition at line 549 of file spacetime.h.
constexpr millimeter util::quantities::space_literals::operator""_mm | ( | long double | v | ) |
Literal millimeter value.
Definition at line 571 of file spacetime.h.
constexpr millimeter util::quantities::space_literals::operator""_mm | ( | unsigned long long int | v | ) |
Definition at line 573 of file spacetime.h.
constexpr nanometer util::quantities::space_literals::operator""_nm | ( | long double | v | ) |
Literal nanometer value.
Definition at line 587 of file spacetime.h.
constexpr nanometer util::quantities::space_literals::operator""_nm | ( | unsigned long long int | v | ) |
Definition at line 589 of file spacetime.h.
constexpr picometer util::quantities::space_literals::operator""_pm | ( | long double | v | ) |
Literal picometer value.
Definition at line 595 of file spacetime.h.
constexpr picometer util::quantities::space_literals::operator""_pm | ( | unsigned long long int | v | ) |
Definition at line 597 of file spacetime.h.
constexpr micrometer util::quantities::space_literals::operator""_um | ( | long double | v | ) |
Literal micrometer value.
Definition at line 579 of file spacetime.h.
constexpr micrometer util::quantities::space_literals::operator""_um | ( | unsigned long long int | v | ) |
Definition at line 581 of file spacetime.h.