std::pmr::m...ce::is_equal(3)
π std::pmr::memory_resource::is_equal π
okay so welcome to the std::pmr::m...ce::is_equal(3) page in the C++ Standard Libary, bestie β this is the equality-check moment for memory resources and it's lowkey important β¨
β¨ NAME β¨
std::pmr::memory_resource::is_equal β literally std::pmr::memory_resource::is_equal, no cap. That's the name, that's the vibe π
πΈ Synopsis πΈ
bool is_equal( const memory_resource& other ) const noexcept;
β¨ since C++17 β¨
okay so what does it do? It compares *this for equality with other. Two memory_resources compare equal if and only if memory allocated from one memory_resource can be deallocated from the other and vice versa. yes bestie, that's the whole equality contract, periodt π«Ά
It's equivalent to:
return do_is_equal(other);
π¦ See also π¦
do_is_equalβ compare for equality with anothermemory_resource[virtual](virtual private member function) π
source: http://cppreference.com Β· version/date: 2024.06.10 Β· page: std::pmr::m...ce::is_equal(3) β mwah, bye bestie! π
π¦ 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