std::pmr::memory_resource::is_equal
< cpp | memory | memory resource
bool is_equal( const memory_resource& other ) const noexcept;
|
(C++17 起) | |
比较 *this 与 other 的相等性。两个 memory_resource
比较相等,当且仅当从一个 memory_resource
分配的内存能从另一个解分配,反之亦然。
等价于 return do_is_equal(other);。
参阅
[虚]
|
与另一 memory_resource 比较相等性(虚私有成员函数) |