|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Public member functions | ||||
| Private member functions | ||||
| Non-member functions | ||||
operator==operator!= (until C++20) |
Defined in header <memory_resource> | ||
bool operator==(conststd::pmr::memory_resource& a, conststd::pmr::memory_resource& b)noexcept; | (1) | (since C++17) |
bool operator!=(conststd::pmr::memory_resource& a, conststd::pmr::memory_resource& b)noexcept; | (2) | (since C++17) (until C++20) |
Compares thememory_resourcesa andb for equality. Twomemory_resources compare equal if and only if memory allocated from onememory_resource can be deallocated from the other and vice versa.
The | (since C++20) |
compare for equality with anothermemory_resource(public member function)[edit] |