Multimap operators
Syntax:
#include <map> multimap operator=(const multimap& c2); bool operator==(const multimap& c1, const multimap& c2); bool operator!=(const multimap& c1, const multimap& c2); bool operator<(const multimap& c1, const multimap& c2); bool operator>(const multimap& c1, const multimap& c2); bool operator<=(const multimap& c1, const multimap& c2); bool operator>=(const multimap& c1, const multimap& c2); All of the C++ containers can be compared and assigned with the standard comparison operators: ==, !=, <=, >=, <, >, and =. Performing a comparison or assigning one multimap to another takes linear time. Two multimaps are equal if:
Comparisons among multimaps are done lexicographically. |