命名空间
变体
操作

std::experimental::pmr::unsynchronized_pool_resource::do_is_equal

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

比较 *thisother 的同一性——使用 unsynchronized_pool_resource 分配的内存只能使用该资源进行解除分配。

[编辑] 返回值

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

[编辑] 参阅

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