std::experi..._deallocate(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

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: p shall have been returned by a prior call to allocate(bytes, alignment) on a memory_resource that 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