std::experimental::pmr::monotonic_buffer_resource

From cppreference.com
class monotonic_buffer_resource : public memory_resource;
(library fundamentals TS)

The class std::experimental::pmr::monotonic_buffer_resource

monotonic_buffer_resource can be constructed with an initial buffer. If there is no initial buffer, or if the buffer is exhausted, additional buffers are obtained from an upstream memory resource

monotonic_buffer_resource is not thread-safe.

Member functions

constructs a monotonic_buffer_resource
(public member function)
[virtual]
destroys a monotonic_buffer_resource, releasing all allocated memory
(virtual public member function)
operator=
[deleted]
copy assignment operator is deleted. monotonic_buffer_resource is not copy assignable
(public member function)
Public member functions
release all allocated memory
(public member function)
returns a pointer to the upstream memory resource
(public member function)
Protected member functions
[virtual]
allocate memory
(virtual protected member function)
[virtual]
no-op
(virtual protected member function)
[virtual]
compare for equality with another memory_resource
(virtual protected member function)