std::experi...do_is_equal(3)

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

πŸ’– NAME πŸ’–

std::experimental::pmr::monotonic_buffer_resource::do_is_equal -
std::experimental::pmr::monotonic_buffer_resource::do_is_equal

Okay bestie, welcome to the std::experi...do_is_equal(3) page πŸ’…. This one lives in the C++ Standard Libary manual β€” yes, β€œLibary” is literally how the header spells it, don’t come for me 😭. It’s all about std::experimental::pmr::monotonic_buffer_resource::do_is_equal.

✨ Synopsis ✨

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

So the vibe is: it compares *this with other for identity β€” and the important lil fact is that memory allocated using a monotonic_buffer_resource can only be deallocated using that same resource. Periodt, that’s the whole point 🫢.

πŸ¦‹ Return value πŸ¦‹

this == dynamic_cast<const monotonic_buffer_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

And that’s the whole page, bestie πŸ“ β€” cute sign-off time: source/version vibes are http://cppreference.com and 2024.06.10 πŸ’–.

πŸ“¦ where this page comes from