23 General utilities library [utilities]

23.12 Memory resources [mem.res]

23.12.2 Class memory_­resource [mem.res.class]

23.12.2.1 memory_­resource public member functions [mem.res.public]

~memory_resource();

Effects: Destroys this memory_­resource.

void* allocate(size_t bytes, size_t alignment = max_align);

Effects: Equivalent to: return do_­allocate(bytes, alignment);

void deallocate(void* p, size_t bytes, size_t alignment = max_align);

Effects: Equivalent to: do_­deallocate(p, bytes, alignment);

bool is_equal(const memory_resource& other) const noexcept;

Effects: Equivalent to: return do_­is_­equal(other);