std::pmr::u...o_deallocate(3)

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

πŸ’– std::pmr::unsynchronized_pool_resource::do_deallocate πŸ’–

okay so this is the C++ Standard Libary manual page for std::pmr::unsynchronized_pool_resource::do_deallocate β€” header shorthand: std::pmr::u...o_deallocate(3). main character energy only πŸ’…


🌸 NAME 🌸

std::pmr::unsynchronized_pool_resource::do_deallocate β€” std::pmr::unsynchronized_pool_resource::do_deallocate (yes bestie, the original NAME section says it twice, so we're keeping both πŸŽ€).


✨ Synopsis ✨

virtual void do_deallocate( void* p, std::size_t bytes, std::size_t alignment );

(since C++17) πŸ¦‹

It 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. no cap, that's literally the caveat 😭


πŸ’… Exceptions πŸ’…

Throws nothing. like, nothing nothing. zero. πŸ™ˆ


πŸ¦‹ See also πŸ¦‹

  • deallocate β€” deallocates memory (public member function of std::pmr::memory_resource)
  • do_deallocate β€” deallocates memory [virtual] (virtual private member function of std::pmr::memory_resource)

mwah πŸ’‹ β€” source/version: http://cppreference.com, date: 2024.06.10. byeee 🫢

πŸ“¦ where this page comes from