ShrinkableVector¶
-
template<class
E
>
classcppmicroservices
::
ShrinkableVector
¶ A std::vector style 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
reference
= typename container_type::reference¶
-
using
const_reference
= typename container_type::const_reference¶
-
using
value_type
= typename container_type::value_type¶
Public Functions
-
inline
ShrinkableVector
()¶
-
inline const_iterator
begin
() const¶
-
inline const_iterator
end
() const¶
-
inline const_reference
front
() const¶
-
inline const_reference
back
() const¶
-
inline void
pop_back
()¶
-
inline bool
empty
() const¶
-
inline void
clear
()¶
-
inline const_reference
at
(size_type pos) const¶
-
inline const_reference
operator[]
(size_type i) const¶ 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 reference
operator[]
(size_type i)¶ 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.
-
using