Standard C++ Library Reference ISO/IEC (VERSION3)

proportional to the number of elements in the two controlled sequences.
multiset::upper_bound
iterator upper_bound(const Key& keyval)
const_iterator upper_bound(const Key& keyval) const;
The member function returns an iterator that designates the earliest element X in the controlled
sequence for which key_comp()(keyval, X) is true.
If no such element exists, the function returns end().
multiset::value_comp
value_compare value_comp() const;
The member function returns a function object that determines the order of elements in the
controlled sequence.
multiset::value_compare
typedef Pr value_compare;
The type describes a function object that can compare two elements as sort keys to determine
their relative order in the controlled sequence.
multiset::value_type
typedef Key value_type;
The type describes an element of the controlled sequence.
operator!=
template<class Key, class Pr, class Alloc>
bool operator!=(
const set <Key, Pr, Alloc>& left,
const set <Key, Pr, Alloc>& right);
template<class Key, class Pr, class Alloc>
bool operator!=(
const multiset <Key, Pr, Alloc>& left,
const multiset <Key, Pr, Alloc>& right);
The template function returns !(left == right).