operator==, operator!= (std::experimental::pmr::memory_resource)
From cppreference.net
<
cpp
|
experimental
|
memory resource
|
bool
operator
==
(
const
memory_resource
&
a,
const
memory_resource
&
b
)
noexcept
;
|
(1) | (ライブラリファンダメンタルTS) |
|
bool
operator
!
=
(
const
memory_resource
&
a,
const
memory_resource
&
b
)
noexcept
;
|
(2) | (ライブラリファンダメンタルTS) |
memory_resource
s
a
と
b
を等値比較します。2つの
memory_resource
が等しいと比較されるのは、一方の
memory_resource
から割り当てられたメモリが他方から解放可能であり、その逆も成り立つ場合に限ります。
戻り値
1)
&
a
==
&
b
||
a.
is_equal
(
b
)
2)
!
(
a
==
b
)
関連項目
他の
memory_resource
との等値比較
(公開メンバ関数) |