命名空间
变体
操作

std::experimental::pmr::memory_resource::is_equal

来自 cppreference.cn
 
 
 
 
 
bool is_equal( const memory_resource& other ) const noexcept;
(库基础 TS)

将 *this 与 other 比较是否相等。当且仅当从一个 memory_resource 分配的内存可以从另一个 memory_resource 中释放,反之亦然时,两个 memory_resource 比较相等。

等价于 return do_is_equal(other);

[编辑] 参见

[虚函数]
与另一个 memory_resource 比较是否相等
(虚保护成员函数) [编辑]