Namespaces
Variants
Views
Actions

std::pmr::memory_resource

From cppreference.com
< cpp‎ | memory
 
 
Dynamic memory management
Uninitialized storage
(C++17)
(deprecated since c++17)
(deprecated since c++17)
(deprecated since c++17)
Garbage collection support
Miscellaneous
(C++11)
(C++11)
C Library
Low level memory management
 
 
Defined in header <memory_resource>
class memory_resource;
(since C++17)

The class std::pmr::memory_resource is an abstract interface to an unbounded set of classes encapsulating memory resources.

Contents

[edit] Member functions

(implicitly declared)
constructs a new memory_resource
(public member function) [edit]
(destructor)
[virtual]
destructs an memory_resource
(virtual public member function) [edit]
operator=
(implicitly declared)
Implicitly declared copy assignment operator
(public member function) [edit]
Public member functions
allocates memory
(public member function) [edit]
deallocates memory
(public member function) [edit]
compare for equality with another memory_resource
(public member function) [edit]
Private member functions
[virtual]
allocates memory
(virtual private member function) [edit]
deallocates memory
(virtual private member function) [edit]
[virtual]
compare for equality with another memory_resource
(virtual private member function) [edit]

[edit] Non-member-functions

compare two memory_resources
(function) [edit]