#include <multimap.h>
Public Types | |
using | value_type = Pair< Key, Val > |
using | iterator = typename TreeT::BasicIterator |
using | const_iterator = typename TreeT::ConstIterator |
Public Member Functions | |
void | clear () |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
const_iterator | lower_bound (const Key &key) const |
iterator | lower_bound (const Key &key) |
iterator | upper_bound (const Key &key) |
iterator | find (const Key &theKey) |
const_iterator | find (const Key &theKey) const |
iterator | erase (iterator it) |
iterator | erase (iterator first, iterator last) |
iterator | erase (const Key &theKey) |
iterator | insert (const value_type &val) |
size_t | size () const |
bool | empty () const |
size_t | count (const Key &theKey) |
multimap implementation meant as a drop-in replacement for the C++ standard library's std::multimap
|
inline |
Clears the map
|
inline |
Gets the iterator start
|
inline |
Get the iterator end
|
inline |
Get the const iterator start
|
inline |
Get the const iterator end
|
inline |
Returns an iterator for the first element of the map that is not less than the given key
|
inline |
Find the entry with the given key
|
inline |
Erases an entry in the map
|
inline |
Returns the size of the map
|
inline |
Returns the number of elements with a matching key