Синтаксис:
#include <set> multiset operator=(const multiset& c2); bool operator==(const multiset& c1, const multiset& c2); bool operator!=(const multiset& c1, const multiset& c2); bool operator<(const multiset& c1, const multiset& c2); bool operator>(const multiset& c1, const multiset& c2); bool operator<=(const multiset& c1, const multiset& c2); bool operator>=(const multiset& c1, const multiset& c2);
Все контейнеры C++ могут быть сравнены и присвоены с помощью стандартных операторов: ==, !=, <=, >=, <, > и =. Сравнение и присваивание контейнеров multiset занимает линейное время.
Два контейнера multiset равны, если:
Сравнение контейнеров multiset происходит лексикографически.