template <class Key, class T>
class cppmicroservices::ShrinkableMap

A std::map style associative container allowing query and removal operations only.

Public Types

typedef std::map<Key, T> container_type
typedef container_type::iterator iterator
typedef container_type::const_iterator const_iterator
typedef container_type::size_type size_type
typedef container_type::key_type key_type
typedef container_type::mapped_type mapped_type
typedef container_type::value_type value_type
typedef container_type::reference reference
typedef container_type::const_reference const_reference

Public Functions

iterator begin()
const_iterator begin() const
iterator end()
const_iterator end() const
void erase(iterator pos)
void erase(iterator first, iterator last)
size_type erase(const Key &key)
bool empty() const
void clear()
size_type size() const
size_type max_size() const
T &operator[](const Key &key)

Deprecated since version 3.1.0: This function exists only to maintain backwards compatibility and will be removed in the next major release. Use at(size_type pos) instead.

T &at(const Key &key)
const T &at(const Key &key) const
size_type count(const Key &key) const
iterator find(const Key &key)
const_iterator find(const Key &key) const
std::pair<iterator, iterator> equal_range(const Key &key)
std::pair<const_iterator, const_iterator> equal_range(const Key &key) const
iterator lower_bound(const Key &key)
const_iterator lower_bound(const Key &key) const
iterator upper_bound(const Key &key)
const_iterator upper_bound(const Key &key) const