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