template <class Key, class Compare, class Allocator>
bool operator== ( const set<Key,Compare,Allocator>& x,
const set<Key,Compare,Allocator>& y );
template <class Key, class Compare, class Allocator>
bool operator< ( const set<Key,Compare,Allocator>& x,
const set<Key,Compare,Allocator>& y );
template <class Key, class Compare, class Allocator>
bool operator!= ( const set<Key,Compare,Allocator>& x,
const set<Key,Compare,Allocator>& y );
template <class Key, class Compare, class Allocator>
bool operator> ( const set<Key,Compare,Allocator>& x,
const set<Key,Compare,Allocator>& y );
template <class Key, class Compare, class Allocator>
bool operator>= ( const set<Key,Compare,Allocator>& x,
const set<Key,Compare,Allocator>& y );
template <class Key, class Compare, class Allocator>
bool operator<= ( const set<Key,Compare,Allocator>& x,
const set<Key,Compare,Allocator>& y );
These overloaded global operator functions perform the appropriate comparison operation between
.
.
operation (less-than) defined between two objects of that type.
otherwise.