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);。
[编辑] 参见
[虚函数] |
与另一个 memory_resource 比较相等性 (虚私有成员函数) |