名稱空間
變體
操作

std::experimental::pmr::monotonic_buffer_resource::do_is_equal

來自 cppreference.com
 
 
 
 
 
virtual bool do_is_equal( const memory_resource& other ) const noexcept;
(庫基礎 TS)

比較 *thisother 是否相同——使用 monotonic_buffer_resource 分配的記憶體只能使用同一個資源進行釋放。

[編輯] 返回值

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

[編輯] 參閱

[virtual]
與另一個 memory_resource 進行相等比較
(std::experimental::pmr::memory_resource 的虛保護成員函式) [編輯]