std::experi...o_deallocate(3)
π std::experi...o_deallocate(3) π
okay so this page is from the C++ Standard Libary manual β yes, Libary, we are keeping that exactly as it appears, no autocorrect energy here π β and itβs all about std::experimental::pmr::synchronized_pool_resource::do_deallocate. Niche? Absolutely. Iconic? Also yes. π«Ά
β¨ NAME β¨
std::experimental::pmr::synchronized_pool_resource::do_deallocate β std::experimental::pmr::synchronized_pool_resource::do_deallocate
π Synopsis π
virtual void do_deallocate( void* p, std::size_t bytes, (library
fundamentals TS)
std::size_t alignment );
okay so the way this works: this virtual function 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. Thatβs the whole vibe β maybe upstream gets called, maybe not, and the spec is not committing. π
π Exceptions π
Throws nothing. Not a single one. Slay. β¨
π See also π
deallocateβ deallocates memory (public member function ofstd::experimental::pmr::memory_resource)do_deallocateβ deallocates memory[virtual](virtual protected member function ofstd::experimental::pmr::memory_resource)
π·οΈ Category π·οΈ
- Noindexed pages
mwah π this cutie is sourced from http://cppreference.com, version/date 2024.06.10, and it lives under std::experi...o_deallocate(3). bye bestie, go deallocate responsibly π«Άπ
π¦ 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