Namespaces
Variants

operator==,<=> (std::flat_multiset)

From cppreference.net

friend bool operator == ( const std:: flat_multiset & lhs,
const std:: flat_multiset & rhs ) ;
(1) (C++23以降)
friend synth - three - way - result < value_type >

operator <=> ( const std:: flat_multiset & lhs,

const std:: flat_multiset & rhs ) ;
(2) (C++23以降)
Compares the contents of the underlying containers of two container adaptors. The comparison is done by applying the corresponding operator to the underlying containers.

目次

パラメータ

lhs, rhs - 比較対象のコンテナアダプタ

戻り値

1) true 対応する比較が true を返す場合は false それ以外の場合。
2) 基盤となるコンテナに対する三方比較の結果。

計算量

1) サイズが異なる場合は定数時間、それ以外の場合は flat_multiset のサイズに対して線形時間。
2) コンテナのサイズに対して線形。