Namespaces
Variants

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

From cppreference.net

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

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

const std:: flat_multimap & 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 を返す場合は true 、それ以外の場合は false を返す。
2) 基盤となるコンテナに対する三方比較の結果。

計算量

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