std::pmr::monotonic_buffer_resource::do_is_equal
From cppreference.com
< cpp | memory | monotonic buffer resource
| virtual bool do_is_equal( const std::pmr::memory_resource& other ) const noexcept; |
(C++17以降) | |
*this と other を同一性について比較します。 monotonic_buffer_resource を使用して確保されたメモリは、そのリソース自体でしか解放できません。
[編集] 返り値
this == &other
[編集] 不具合報告
以下の動作変更を伴う欠陥報告が、以前に公開されたC++標準に遡って適用されました。
| DR | 適用対象 | 公開された動作 | 正しい動作 |
|---|---|---|---|
| LWG 3000 | C++17 | 不要な dynamic_cast が実行されました。 |
削除 |
[編集] 関連項目
| [virtual] |
別のmemory_resourceとの等価性を比較する( std::pmr::memory_resource の仮想 private メンバ関数) |