std::pmr::s...rce::release(3)
π NAME π
Okay so bestie, welcome to the std::pmr::s...rce::release(3) page, coming at you from the C++ Standard Libary manual. (Yes, thatβs the manual name, typo and all β keeping the receipts exact. π
)
This page is about std::pmr::synchronized_pool_resource::release β same release energy, full name and everything. π«Ά
β¨ Synopsis β¨
void release(); (since C++17)
So whatβs the tea? It releases all memory owned by this resource by calling the deallocate function of the upstream memory resource as needed. π«§
And yes, memory is released back to the upstream resource even if deallocate has not been called for some of the allocated blocks. Thatβs the whole vibe β no cap. π
π¦ See also π¦
deallocateβ deallocates memory (public member function ofstd::pmr::memory_resource)
Source/version and date, for the receipts: http://cppreference.com Β· 2024.06.10 β mwah, bye bestie! πβ¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms