std::pmr::m...do_is_equal(3)
okay bestie, welcome to the C++ Standard Libary manual page for std::pmr::monotonic_buffer_resource::do_is_equal π the header shortens it to std::pmr::m...do_is_equal(3) because even manpage titles need a little nap.
πΈ NAME πΈ
This page is literally about std::pmr::monotonic_buffer_resource::do_is_equal β and yes, std::pmr::monotonic_buffer_resource::do_is_equal again, because the NAME section said it twice and I respect that π
.
β¨ Synopsis β¨
virtual bool do_is_equal( const std::pmr::memory_resource& other )
const noexcept;
(since C++17) bestie, sheβs been here since then β¨
Compare *this with other for identity β memory allocated using a monotonic_buffer_resource can only be deallocated using that same resource. no cap, thatβs the whole vibe π«Ά
π Return value π
The return value is literally:
this == &other
thatβs it, thatβs the whole serve π
π Defect report π
The following behavior-changing defect reports were applied retroactively to previously published C++ standards. yes, the lore goes back π
- DR:
LWG 3000 - Applied to:
C++17 - Behavior as published: unnecessary
dynamic_castwas performed - Correct behavior: removed
π See also π
do_is_equalβ compare for equality with anothermemory_resource[virtual](virtual private member function ofstd::pmr::memory_resource) π¦
mwah π source/version: http://cppreference.com Β· date: 2024.06.10 β thatβs the cute little footer, bestie, periodt π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms