std::pmr::unsynchronized_pool_resource:: do_is_equal
From cppreference.net
<
cpp
|
memory
|
unsynchronized pool resource
C++
Memory management library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::pmr::unsynchronized_pool_resource
| Public member functions | ||||
| Protected member functions | ||||
|
unsynchronized_pool_resource::do_is_equal
|
|
virtual
bool
do_is_equal
(
const
std::
pmr
::
memory_resource
&
other
)
const
noexcept
;
|
(C++17以降) | |
同一性について
*
this
と
other
を比較します -
unsynchronized_pool_resource
を使用して割り当てられたメモリは、同じリソースを使用してのみ解放できます。
戻り値
this == & other
不具合報告
以下の動作変更の欠陥報告書は、以前に公開されたC++規格に対して遡及的に適用されました。
| DR | 適用対象 | 公開時の動作 | 正しい動作 |
|---|---|---|---|
| LWG 3000 | C++17 |
不要な
dynamic_cast
が実行されていた
|
削除された |
関連項目
|
[virtual]
|
別の
memory_resource
との等値比較を実行する
(
std::pmr::memory_resource
の仮想プライベートメンバー関数)
|