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

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

✨ NAME ✨

Bestie, we’re looking at std::experi...:do_is_equal(3) from the C++ Standard Libary, and the name is a whole runway walk:

  • std::experimental::pmr::synchronized_pool_resource::do_is_equal β€” std::experimental::pmr::synchronized_pool_resource::do_is_equal

πŸ¦‹ Synopsis πŸ¦‹

The signature is literally this, periodt:

virtual bool do_is_equal( const memory_resource& other ) const noexcept;

That one is tagged (library fundamentals TS), iykyk.

So what’s the vibe? Compare *this with other for identity β€” memory allocated using a synchronized_pool_resource can only be deallocated using that same resource. No cap, that’s the whole point.

πŸŽ€ Return value πŸŽ€

It returns exactly:

this == dynamic_cast<const synchronized_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 tea: source http://cppreference.com, dated 2024.06.10, page std::experi...:do_is_equal(3). Mwah πŸ’‹

πŸ“¦ where this page comes from