Standard C++ Library Class Reference
Compare, of the current multimap.
iterator
lower_bound (const key_type& x);
Returns an iterator to the first multimap element whose key is greater than or equal to x. If no
such element exists then end() is returned.
const_iterator
lower_bound (const key_type& x) const;
Same as lower_bound above but returns a const_iterator.
size_type
max_size() const;
Returns the maximum possible size of the multimap.
size_type
size() const;
Returns the number of elements in the multimap.
void
swap (multimap<Key, T, Compare, Allocator>& x);
Swaps the contents of the multimap x with the current multimap, *this.
iterator
upper_bound (const key_type& x);
Returns an iterator to the first element whose key is less than or equal to x. If no such element
exists, then end() is returned.
const_iterator
upper_bound (const key_type& x) const;
Same as upper_bound above but returns a const_iterator.
value_compare
value_comp() const;
Returns a function object capable of comparing value_types (key,value pairs) using the
comparison operation, Compare, of the current multimap.
Non-member Operators
bool
operator==(const multimap<Key, T, Compare, Allocator>& x,
const multimap<Key, T, Compare, Allocator>& y);
Returns true if all elements in x are element-wise equal to all elements in y, using
(T::operator==). Otherwise it returns false.
bool
operator< (const multimap<Key, T, Compare, Allocator>& x,
const multimap<Key, T, Compare, Allocator>& y);