std::pmr::memory_resource::is_equal
From cppreference.com
< cpp | memory | memory resource
| bool is_equal( const memory_resource& other ) const noexcept; |
(C++17以降) | |
現在のオブジェクト(*this)をotherと比較します。2つのmemory_resourceは、一方のmemory_resourceから割り当てられたメモリが他方から解放でき、かつその逆も真である場合にのみ、等しいとみなされます。
return do_is_equal(other); と同等です。
[編集] 関連項目
| [virtual] |
別のmemory_resourceとの等価性を比較する(virtual private member function) |