|
|
Public member functions | ||||
Protected member functions | ||||
Defined in header <memory_resource> | ||
class unsynchronized_pool_resource:publicstd::pmr::memory_resource; | (since C++17) | |
The classstd::pmr::unsynchronized_pool_resource
is a general-purpose memory resource class with the following properties:
deallocate
has not been called for some of the allocated blocks.unsynchronized_pool_resource
is not thread-safe, and cannot be accessed from multiple threads simultaneously; usesynchronized_pool_resource if access from multiple threads is required.
constructs anunsynchronized_pool_resource (public member function)[edit] | |
[virtual] | destroys anunsynchronized_pool_resource , releasing all allocated memory(virtual public member function)[edit] |
operator= [deleted] | copy assignment operator is deleted.unsynchronized_pool_resource is not copy assignable(public member function)[edit] |
Public member functions | |
release all allocated memory (public member function)[edit] | |
returns a pointer to the upstream memory resource (public member function)[edit] | |
returns the options that control the pooling behavior of this resource (public member function)[edit] | |
Protected member functions | |
[virtual] | allocate memory (virtual protected member function)[edit] |
[virtual] | return memory to the pool (virtual protected member function)[edit] |
[virtual] | compare for equality with anotherstd::pmr::memory_resource (virtual protected member function)[edit] |