std::experi..._deallocate(3)
hey bestie π you're looking at std::experi..._deallocate(3) from the C++ Standard Libary manual β yes, that's the manual name in the header, spelling and all, and we are moving on πβ¨
π NAME
std::experimental::pmr::memory_resource::do_deallocate β std::experimental::pmr::memory_resource::do_deallocate
β¨ Synopsis
okay so this one is virtual and ends in = 0; β the library fundamentals TS energy is right there π
virtual void* do_deallocate( void* p, std::size_t bytes, (library
fundamentals TS)
std::size_t alignment ) = 0;
Deallocates the storage pointed to by p. that's the whole main-character job π
β οΈ requirement check, bestie:pshall have been returned by a prior call toallocate(bytes, alignment)on amemory_resourcethat compares equal to*this, and the storage it points to shall not yet have been deallocated. no cap, that's the rule π«Ά
π Exceptions
Throws nothing. literally zero throws, not even a tiny dramatic one ππ
π See also
deallocateβ deallocates memory (public member function)
π Category:
- Noindexed pages
made with love from http://cppreference.com π, version/date 2024.06.10 ποΈ, and page std::experi..._deallocate(3) β¨ bestie, that's the footer folded into a cute little sign-off ππ¦
π¦ 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