namespace std {
template <class Key, class Compare, class Allocator>
bool operator< (const multiset<Key,Compare,Allocator>& x, const multiset<Key,Compare,Allocator>& y);
}
概要
x
が y
より小さいかどうかの判定を行う。
パラメータ
x
,y
比較するコンテナ
戻り値
x
が y
より小さい場合に true
, そうでない場合に false
。
計算量
size()
に対して線形時間。
例
出力
0
1