std::pmr::synchronized_pool_resource Class Reference
Inheritance diagram for std::pmr::synchronized_pool_resource:

Public Member Functions

 synchronized_pool_resource (const pool_options &__opts)
 synchronized_pool_resource (const pool_options &__opts, memory_resource *__upstream)
 synchronized_pool_resource (const synchronized_pool_resource &)=delete
 synchronized_pool_resource (memory_resource *__upstream)
void * allocate (size_t __bytes, size_t __alignment=_S_max_align)
void deallocate (void *__p, size_t __bytes, size_t __alignment=_S_max_align)
bool is_equal (const memory_resource &__other) const noexcept
synchronized_pool_resourceoperator= (const synchronized_pool_resource &)=delete
pool_options options () const noexcept
void release ()
memory_resourceupstream_resource () const noexcept

Protected Member Functions

void * do_allocate (size_t __bytes, size_t __alignment) override
void do_deallocate (void *__p, size_t __bytes, size_t __alignment) override
bool do_is_equal (const memory_resource &__other) const noexcept override

Detailed Description

A thread-safe memory resource that manages pools of fixed-size blocks.

Definition at line 446 of file memory_resource.

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