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