LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Literal constants for data size quantities. More...
Functions | |
constexpr byte | operator""_B (long double v) |
Literal second value. More... | |
constexpr byte | operator""_B (unsigned long long int v) |
Literal second value. More... | |
constexpr kibibyte | operator""_kiB (long double v) |
Literal kibibyte value. More... | |
constexpr kibibyte | operator""_kiB (unsigned long long int v) |
Literal kibibyte value. More... | |
constexpr mebibyte | operator""_MiB (long double v) |
Literal mebibyte value. More... | |
constexpr mebibyte | operator""_MiB (unsigned long long int v) |
Literal mebibyte value. More... | |
constexpr gibibyte | operator""_GiB (long double v) |
Literal gibibyte value. More... | |
constexpr gibibyte | operator""_GiB (unsigned long long int v) |
Literal gibibyte value. More... | |
constexpr tebibyte | operator""_TiB (long double v) |
Literal tebibyte value. More... | |
constexpr tebibyte | operator""_TiB (unsigned long long int v) |
Literal tebibyte value. More... | |
constexpr pebibyte | operator""_PiB (long double v) |
Literal pebibyte value. More... | |
constexpr pebibyte | operator""_PiB (unsigned long long int v) |
Literal pebibyte value. More... | |
constexpr exbibyte | operator""_EiB (long double v) |
Literal exbibyte value. More... | |
constexpr exbibyte | operator""_EiB (unsigned long long int v) |
Literal exbibyte value. More... | |
Literal constants for data size quantities.
These functions allow a simplified syntax for specifying a data size quantity. In order to use these, their namespace must be used:
constexpr byte util::quantities::datasize_literals::operator""_B | ( | long double | v | ) |
Literal second value.
Definition at line 223 of file datasize.h.
constexpr byte util::quantities::datasize_literals::operator""_B | ( | unsigned long long int | v | ) |
Literal second value.
Definition at line 227 of file datasize.h.
constexpr exbibyte util::quantities::datasize_literals::operator""_EiB | ( | long double | v | ) |
Literal exbibyte value.
Definition at line 295 of file datasize.h.
constexpr exbibyte util::quantities::datasize_literals::operator""_EiB | ( | unsigned long long int | v | ) |
Literal exbibyte value.
Definition at line 299 of file datasize.h.
constexpr gibibyte util::quantities::datasize_literals::operator""_GiB | ( | long double | v | ) |
Literal gibibyte value.
Definition at line 259 of file datasize.h.
constexpr gibibyte util::quantities::datasize_literals::operator""_GiB | ( | unsigned long long int | v | ) |
Literal gibibyte value.
Definition at line 263 of file datasize.h.
constexpr kibibyte util::quantities::datasize_literals::operator""_kiB | ( | long double | v | ) |
Literal kibibyte value.
Definition at line 235 of file datasize.h.
constexpr kibibyte util::quantities::datasize_literals::operator""_kiB | ( | unsigned long long int | v | ) |
Literal kibibyte value.
Definition at line 239 of file datasize.h.
constexpr mebibyte util::quantities::datasize_literals::operator""_MiB | ( | long double | v | ) |
Literal mebibyte value.
Definition at line 247 of file datasize.h.
constexpr mebibyte util::quantities::datasize_literals::operator""_MiB | ( | unsigned long long int | v | ) |
Literal mebibyte value.
Definition at line 251 of file datasize.h.
constexpr pebibyte util::quantities::datasize_literals::operator""_PiB | ( | long double | v | ) |
Literal pebibyte value.
Definition at line 283 of file datasize.h.
constexpr pebibyte util::quantities::datasize_literals::operator""_PiB | ( | unsigned long long int | v | ) |
Literal pebibyte value.
Definition at line 287 of file datasize.h.
constexpr tebibyte util::quantities::datasize_literals::operator""_TiB | ( | long double | v | ) |
Literal tebibyte value.
Definition at line 271 of file datasize.h.
constexpr tebibyte util::quantities::datasize_literals::operator""_TiB | ( | unsigned long long int | v | ) |
Literal tebibyte value.
Definition at line 275 of file datasize.h.