C++ Multimapy
Z cppreference.com
C++ Multimapy są jak mapy ( maps)posortowanymi kontenerami asocjacyjnymi, ale z tą różnicą, że klucze mogą występować wielokrotnie.
| Constructors | default methods to allocate, copy, and deallocate multimaps |
| Operators | assign and compare multimaps |
| begin | returns an iterator to the beginning of the multimap |
| clear | removes all elements from the multimap |
| count | returns the number of elements matching a certain key |
| empty | true if the multimap has no elements |
| end | returns an iterator just past the last element of a multimap |
| equal_range | returns iterators to the first and just past the last elements matching a specific key |
| erase | removes elements from a multimap |
| find | returns an iterator to specific elements |
| insert | inserts items into a multimap |
| key_comp | returns the function that compares keys |
| lower_bound | returns an iterator to the first element greater than or equal to a certain value |
| max_size | returns the maximum number of elements that the multimap can hold |
| rbegin | returns a reverse_iterator to the end of the multimap |
| rend | returns a reverse_iterator to the beginning of the multimap |
| size | returns the number of items in the multimap |
| swap | swap the contents of this multimap with another |
| upper_bound | returns an iterator to the first element greater than a certain value |
| value_comp | returns the function that compares values |