LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
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) |
Literal second value. More... | |
constexpr millisecond | operator""_ms (long double v) |
Literal millisecond value. More... | |
constexpr millisecond | operator""_ms (unsigned long long int v) |
Literal millisecond value. More... | |
constexpr microsecond | operator""_us (long double v) |
Literal microsecond value. More... | |
constexpr microsecond | operator""_us (unsigned long long int v) |
Literal microsecond value. More... | |
constexpr nanosecond | operator""_ns (long double v) |
Literal nanosecond value. More... | |
constexpr nanosecond | operator""_ns (unsigned long long int v) |
Literal nanosecond value. More... | |
constexpr picosecond | operator""_ps (long double v) |
Literal picosecond value. More... | |
constexpr picosecond | operator""_ps (unsigned long long int v) |
Literal picosecond value. More... | |
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 188 of file spacetime.h.
constexpr millisecond util::quantities::time_literals::operator""_ms | ( | unsigned long long int | v | ) |
Literal millisecond value.
Definition at line 192 of file spacetime.h.
constexpr nanosecond util::quantities::time_literals::operator""_ns | ( | long double | v | ) |
Literal nanosecond value.
Definition at line 212 of file spacetime.h.
constexpr nanosecond util::quantities::time_literals::operator""_ns | ( | unsigned long long int | v | ) |
Literal nanosecond value.
Definition at line 216 of file spacetime.h.
constexpr picosecond util::quantities::time_literals::operator""_ps | ( | long double | v | ) |
Literal picosecond value.
Definition at line 224 of file spacetime.h.
constexpr picosecond util::quantities::time_literals::operator""_ps | ( | unsigned long long int | v | ) |
Literal picosecond value.
Definition at line 228 of file spacetime.h.
constexpr second util::quantities::time_literals::operator""_s | ( | long double | v | ) |
Literal second value.
Definition at line 176 of file spacetime.h.
constexpr second util::quantities::time_literals::operator""_s | ( | unsigned long long int | v | ) |
Literal second value.
Definition at line 180 of file spacetime.h.
constexpr microsecond util::quantities::time_literals::operator""_us | ( | long double | v | ) |
Literal microsecond value.
Definition at line 200 of file spacetime.h.
constexpr microsecond util::quantities::time_literals::operator""_us | ( | unsigned long long int | v | ) |
Literal microsecond value.
Definition at line 204 of file spacetime.h.