MADNESS 0.10.1
Namespaces | Functions
units.h File Reference
#include <cstddef>
#include <cstdint>
Include dependency graph for units.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  madness
 Namespace for all elements and tools of MADNESS.
 
namespace  madness::units
 
namespace  madness::units::literals
 

Functions

std::uint64_t madness::cstr_to_memory_size (const char *str)
 Unit-aware conversion of a C string to a size_t.
 
constexpr std::size_t madness::units::literals::operator""_EB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_EiB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_GB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_GiB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_kB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_KB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_KiB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_MB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_MiB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_PB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_PiB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_TB (unsigned long long int x)
 
constexpr std::size_t madness::units::literals::operator""_TiB (unsigned long long int x)