|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Public member functions | ||||
memory_resource::is_equal | ||||
| Private member functions | ||||
| Non-member functions | ||||
(until C++20) |
bool is_equal(const memory_resource& other)constnoexcept; | (since C++17) | |
Compares*this for equality withother. Twomemory_resources compare equal if and only if memory allocated from onememory_resource can be deallocated from the other and vice versa.
Equivalent toreturn do_is_equal(other);.
[virtual] | compare for equality with anothermemory_resource(virtual private member function)[edit] |