cpp / latest / memory / unsynchronized_pool_resource / do_deallocate.html /

std::pmr::unsynchronized_pool_resource::do_deallocate

virtual void do_deallocate(void* p, std::size_t bytes, std::size_t alignment);
(since C++17)

Returns the memory at p to the pool. It is unspecified if or under what circumstances this operation will result in a call to deallocate() on the upstream memory resource.

Exceptions

Throws nothing.

See also

deallocates memory
(public member function of std::pmr::memory_resource)
[virtual]
deallocates memory
(virtual private member function of std::pmr::memory_resource)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/memory/unsynchronized_pool_resource/do_deallocate