stdpmroperatorstdpmroperator(3)
std::pmr::operator==,std::pmr::operator!= - std::pmr::operator==,std::pmr::operator!=
Synopsis
bool operator==(const std::pmr::memory_resource &a, (1)(since C++ 17)
const std::pmr::memory_resource &b) noexcept;
bool operator!=(const std::pmr::memory_resource &a, (2)(since C++ 17)
const std::pmr::memory_resource &b) noexcept;Compares the memory_resources a and b for equality. Two memory_resources compare equal if and only if memory allocated from one memory_resource can be deallocated from the other and vice versa.
Return value
- &a == &b || a.is_equal(b)
- !(a == b)
See also