##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::pmr::unsynchronized_pool_resource::do_deallocate

From cppreference.com
< cpp‎ | memory‎ | unsynchronized pool resource

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.

### [edit] Exceptions

Throws nothing.

### [edit] See also

deallocate | deallocates memory (public member function of `std::pmr::memory_resource`) [edit]
do_deallocate [virtual] | deallocates memory (virtual private member function of `std::pmr::memory_resource`) [edit]

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/unsynchronized_pool_resource/do_deallocate&oldid=84316"