Literal constants for time quantities. More...
Functions | |
constexpr second | operator""_s (long double v) |
Literal second value. More... | |
constexpr second | operator""_s (unsigned long long int v) |
constexpr millisecond | operator""_ms (long double v) |
Literal millisecond value. More... | |
constexpr millisecond | operator""_ms (unsigned long long int v) |
constexpr microsecond | operator""_us (long double v) |
Literal microsecond value. More... | |
constexpr microsecond | operator""_us (unsigned long long int v) |
constexpr nanosecond | operator""_ns (long double v) |
Literal nanosecond value. More... | |
constexpr nanosecond | operator""_ns (unsigned long long int v) |
constexpr picosecond | operator""_ps (long double v) |
Literal picosecond value. More... | |
constexpr picosecond | operator""_ps (unsigned long long int v) |
Literal constants for time quantities.
These functions allow a simplified syntax for specifying a time quantity. In order to use these, their namespace must be used:
constexpr millisecond util::quantities::time_literals::operator""_ms | ( | long double | v | ) |
Literal millisecond value.
Definition at line 187 of file spacetime.h.
constexpr millisecond util::quantities::time_literals::operator""_ms | ( | unsigned long long int | v | ) |
Definition at line 189 of file spacetime.h.
constexpr nanosecond util::quantities::time_literals::operator""_ns | ( | long double | v | ) |
Literal nanosecond value.
Definition at line 203 of file spacetime.h.
constexpr nanosecond util::quantities::time_literals::operator""_ns | ( | unsigned long long int | v | ) |
Definition at line 205 of file spacetime.h.
constexpr picosecond util::quantities::time_literals::operator""_ps | ( | long double | v | ) |
Literal picosecond value.
Definition at line 211 of file spacetime.h.
constexpr picosecond util::quantities::time_literals::operator""_ps | ( | unsigned long long int | v | ) |
Definition at line 213 of file spacetime.h.
constexpr second util::quantities::time_literals::operator""_s | ( | long double | v | ) |
constexpr second util::quantities::time_literals::operator""_s | ( | unsigned long long int | v | ) |
Definition at line 181 of file spacetime.h.
constexpr microsecond util::quantities::time_literals::operator""_us | ( | long double | v | ) |
Literal microsecond value.
Definition at line 195 of file spacetime.h.
constexpr microsecond util::quantities::time_literals::operator""_us | ( | unsigned long long int | v | ) |
Definition at line 197 of file spacetime.h.