Namespaces
Variants
Actions

std::experimental::pmr::synchronized_pool_resource::release

From cppreference.com
 
C++
 
Library fundamentals
 
Polymorphic allocator library
 
std::experimental::pmr::synchronized_pool_resource
void release();
(library fundamentals TS)

Releases all memory owned by this resource by calling the deallocate function of the upstream memory resource as needed.

Memory is released back to the upstream resource even if deallocate has not been called for some of the allocated blocks.

[edit] See also

deallocates memory
(public member function of std::experimental::pmr::memory_resource) [edit]

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant