std::experi...ce::is_equal(3)

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

πŸ’– std::experi...ce::is_equal(3) πŸ’–

okay so bestie, welcome to this page from the C++ Standard Libary β€” yes, that’s the manual name right there, typo and all, iykyk 😭 β€” and it’s literally the std::experimental::pmr::memory_resource::is_equal manual. The title up top is std::experi...ce::is_equal(3), and we’re gonna get into it πŸ’…


🌸 NAME 🌸

std::experimental::pmr::memory_resource::is_equal - std::experimental::pmr::memory_resource::is_equal

not me getting the exact same name twice, but that’s what the page says, so we’re keeping it πŸ’€βœ¨

✨ Synopsis ✨

the signature is giving library fundamentals TS realness, and it’s noexcept too:

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

so this compares *this for equality with other β€” like, a full equality check, bestie. Two memory_resources compare equal if and only if memory allocated from one memory_resource can be deallocated from the other and vice versa. no cap, that’s the whole rule 🌈

it’s equivalent to return do_is_equal(other); β€” that’s literally the equivalent line, periodt πŸ’–

πŸ‘€ See also πŸ‘€

  • do_is_equal β€” compare for equality with another memory_resource [virtual] (virtual protected member function)

🏷️ Category: 🏷️

  • Noindexed pages

byeee 🫢 this gem came from http://cppreference.com, version/date 2024.06.10, and the page title is std::experi...ce::is_equal(3) β€” mwah πŸ’‹

πŸ“¦ where this page comes from