std::pmr::memory_resource (3) - Linux Manuals

std::pmr::memory_resource: std::pmr::memory_resource

NAME

std::pmr::memory_resource - std::pmr::memory_resource

Synopsis


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.

Member functions


constructor constructs a new memory_resource
                      (public member function)
(implicitly declared)


destructor destructs an memory_resource
                      (virtual public member function)
[virtual]


operator= Implicitly declared copy assignment operator
                      (public member function)
(implicitly declared)

Public member functions


                      allocates memory
allocate (public member function)
                      deallocates memory
deallocate (public member function)
                      compare for equality with another memory_resource
is_equal (public member function)


 Private member functions


do_allocate allocates memory
                      (virtual private member function)
[virtual]


do_deallocate deallocates memory
                      (virtual private member function)
[virtual]


do_is_equal compare for equality with another memory_resource
                      (virtual private member function)
[virtual]


Non-member-functions


           compare two memory_resources
operator== (function)
operator!=