std::pmr::synchronized_pool_resource::do_is_equal
來自 cppreference.com
virtual bool do_is_equal( const std::pmr::memory_resource& other ) const noexcept; |
(C++17 起) | |
比較 *this 與 other 的同一性——使用 synchronized_pool_resource
分配的記憶體只能使用同一個資源解除分配。
[編輯] 返回值
this == &other
[編輯] 缺陷報告
下列更改行為的缺陷報告追溯地應用於以前出版的 C++ 標準。
缺陷報告 | 應用於 | 釋出時的行為 | 正確的行為 |
---|---|---|---|
LWG 3000 | C++17 | 執行了不必要的 `dynamic_cast` | 已移除 |
[編輯] 參閱
[virtual] |
與另一個 memory_resource 進行相等比較( std::pmr::memory_resource 的虛私有成員函式) |