libcaramel
caramel::memory_allocator< Any > Class Template Reference

Public Types

using pointer = Any *
 
using const_pointer = const Any *
 

Public Member Functions

 memory_allocator (memory_resource *p_resource) noexcept
 
template<typename U >
 memory_allocator (const memory_allocator< U > &other) noexcept
 
auto operator== (const memory_allocator &alloc) const -> bool
 
auto allocate (count_t count) -> pointer
 
void deallocate (gsl::not_null< pointer > ptr, count_t count)
 
auto resource () noexcept -> memory_resource *
 

The documentation for this class was generated from the following file: