名前空間
変種
操作

operator==, operator!= (std::experimental::pmr::memory_resource)

From cppreference.com
 
 
 
 
 
bool operator==( const memory_resource& a, const memory_resource& b ) noexcept;
(1) (Library Fundamentals TS)
bool operator!=( const memory_resource& a, const memory_resource& b ) noexcept;
(2) (Library Fundamentals TS)

memory_resource ab を比較します。2つのmemory_resourceは、一方のmemory_resourceから割り当てられたメモリをもう一方から解放できる場合にのみ等しいとみなされます。

[編集] 戻り値

1) &a == &b || a.is_equal(b)
2) !(a == b)

[編集] 関連項目

別のmemory_resourceとの等価性を比較する
(public メンバ関数) [編集]
English 日本語 中文(简体) 中文(繁體)