5 #ifndef MADNESS_UNITS_H
6 #define MADNESS_UNITS_H
13 namespace units::literals {
15 constexpr std::size_t
operator""_KiB(
unsigned long long int x) {
19 constexpr std::size_t
operator""_MiB(
unsigned long long int x) {
23 constexpr std::size_t
operator""_GiB(
unsigned long long int x) {
27 constexpr std::size_t
operator""_TiB(
unsigned long long int x) {
31 constexpr std::size_t
operator""_PiB(
unsigned long long int x) {
35 constexpr std::size_t
operator""_EiB(
unsigned long long int x) {
39 constexpr std::size_t
operator""_kB(
unsigned long long int x) {
43 constexpr std::size_t
operator""_KB(
unsigned long long int x) {
47 constexpr std::size_t
operator""_MB(
unsigned long long int x) {
51 constexpr std::size_t
operator""_GB(
unsigned long long int x) {
55 constexpr std::size_t
operator""_TB(
unsigned long long int x) {
59 constexpr std::size_t
operator""_PB(
unsigned long long int x) {
63 constexpr std::size_t
operator""_EB(
unsigned long long int x) {
File holds all helper structures necessary for the CC_Operator and CC2 class.
Definition: DFParameters.h:10
std::uint64_t cstr_to_memory_size(const char *str)
Unit-aware conversion of a C string to a size_t.
Definition: units.cc:14