Struct MemoryResource
Defined in File rapidyaml-0.5.0.hpp
Inheritance Relationships
Derived Types
public c4::MemoryResourceCounts
(Class MemoryResourceCounts)public c4::MemoryResourceMalloc
(Struct MemoryResourceMalloc)public c4::detail::DerivedMemoryResource
(Struct DerivedMemoryResource)
Struct Documentation
-
struct MemoryResource
C++17-style memory_resource base class. See http://en.cppreference.com/w/cpp/experimental/memory_resource
Subclassed by c4::MemoryResourceCounts, c4::MemoryResourceMalloc, c4::detail::DerivedMemoryResource
Public Functions
-
inline virtual ~MemoryResource()
-
inline void *allocate(size_t sz, size_t alignment = alignof(max_align_t), void *hint = nullptr)
-
inline void *reallocate(void *ptr, size_t oldsz, size_t newsz, size_t alignment = alignof(max_align_t))
-
inline void deallocate(void *ptr, size_t sz, size_t alignment = alignof(max_align_t))
Public Members
-
const char *name = nullptr
-
inline virtual ~MemoryResource()