ShrinkableMap¶
-
template<class
Key
, classT
>
classcppmicroservices
::
ShrinkableMap
¶ A std::map style associative container allowing query and removal operations only.
Public Types
-
using
iterator
= typename container_type::iterator¶
-
using
const_iterator
= typename container_type::const_iterator¶
-
using
size_type
= typename container_type::size_type¶
-
using
key_type
= typename container_type::key_type¶
-
using
mapped_type
= typename container_type::mapped_type¶
-
using
value_type
= typename container_type::value_type¶
-
using
reference
= typename container_type::reference¶
-
using
const_reference
= typename container_type::const_reference¶
Public Functions
-
inline
ShrinkableMap
()¶
-
inline const_iterator
begin
() const¶
-
inline const_iterator
end
() const¶
-
inline bool
empty
() const¶
-
inline void
clear
()¶
-
inline T &
operator[]
(Key const &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.
-
inline const_iterator
find
(Key const &key) const¶
-
inline std::pair<const_iterator, const_iterator>
equal_range
(Key const &key) const¶
-
inline const_iterator
lower_bound
(Key const &key) const¶
-
inline const_iterator
upper_bound
(Key const &key) const¶
-
using