From cppreference.com
virtual~monotonic_buffer_resource();(since C++17)Destroys a monotonic_buffer_resource.
Deallocates all memory owned by this resource by calling this->release().
See also
release all allocated memory(public member function)
[edit]