std::pmr::memory_resource::is_equal
提供: cppreference.com
< cpp | memory | memory resource
bool is_equal(const memory_resource& other) const noexcept; |
(C++17以上) | |
*this
が other
と等しいかどうか比較します。 2つの memory_resource
は、一方の memory_resource
から確保したメモリが他方の memory_resource
で解放でき、逆も同様である場合にのみ、等しくなります。
return do_is_equal(other); と同等です。
[編集] 関連項目
[仮想] |
別の memory_resource と等しいかどうか比較します (仮想プライベートメンバ関数) |