std::experi...:do_is_equal(3)

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

πŸ’– std::experi...:do_is_equal(3) πŸ’–

okay so this is the std::experi...:do_is_equal(3) page from the C++ Standard Libary manual β€” manual name folded in right here, bestie, and yes the spelling is kept exactly πŸ’…. It's giving "tiny page, very specific job", and we're gonna slay it.

πŸŽ€ NAME πŸŽ€

std::experimental::pmr::unsynchronized_pool_resource::do_is_equal - std::experimental::pmr::unsynchronized_pool_resource::do_is_equal

that's the name, and the one-liner is literally the same name again. iconic, no notes.

✨ Synopsis ✨

the signature is giving virtual + noexcept:

virtual bool do_is_equal( const memory_resource& other )   (library
fundamentals TS)
const noexcept;

lowkey the whole point: compare *this with other for identity β€” memory allocated using an unsynchronized_pool_resource can only be deallocated using that same resource. that's the rule, periodt.

πŸ’– Return value πŸ’–

it returns exactly this:

this == dynamic_cast<const unsynchronized_pool_resource*>(&other)

🌸 See also 🌸

  • do_is_equal β€” compare for equality with another memory_resource [virtual] (virtual protected member function of std::experimental::pmr::memory_resource)

πŸ’€ Category πŸ’€

  • Noindexed pages

that's the whole page, bestie πŸ¦‹ shoutout to http://cppreference.com, dated 2024.06.10, and the footer title std::experi...:do_is_equal(3) β€” mwah πŸ’‹

πŸ“¦ where this page comes from