ShrinkableMap¶
- 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
-
ShrinkableMap
()¶
-
const_iterator
begin
() const¶
-
const_iterator
end
() const¶
-
bool
empty
() const¶
-
void
clear
()¶
-
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¶
-
const_iterator
find
(const Key &key) const¶
-
std::pair<const_iterator, const_iterator>
equal_range
(const Key &key) const¶
-
const_iterator
lower_bound
(const Key &key) const¶
-
const_iterator
upper_bound
(const Key &key) const¶
-
typedef std::map<Key, T>