std::experimental::pmr::synchronized_pool_resource::do_is_equal
来自 cppreference.cn
virtual bool do_is_equal( const memory_resource& other ) const noexcept; |
(库基础 TS) | |
比较 *this 与 other 是否相同 —— 使用 synchronized_pool_resource
分配的内存只能使用相同的资源来释放。
[编辑] 返回值
this == dynamic_cast<const synchronized_pool_resource*>(&other)
[编辑] 参阅
[virtual] |
与另一个 memory_resource 进行相等比较( std::experimental::pmr::memory_resource 的虚保护成员函数) |