命名空间
变体
操作

std::experimental::pmr::synchronized_pool_resource::do_is_equal

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

比较 *thisother 的标识 - 使用 synchronized_pool_resource 分配的内存只能使用相同的资源进行释放。

[编辑] 返回值

this == dynamic_cast<const synchronized_pool_resource*>(&other)

[编辑] 参见

[虚函数]
与另一个 memory_resource 比较相等性
(std::experimental::pmr::memory_resource 的虚函数保护成员函数) [编辑]