ShrinkableVector¶
- template <class E>
-
class
cppmicroservices::
ShrinkableVector
¶ A std::vector style container allowing query and removal operations only.
Public Types
-
typedef std::vector<E>
container_type
¶
-
typedef container_type::iterator
iterator
¶
-
typedef container_type::const_iterator
const_iterator
¶
-
typedef container_type::size_type
size_type
¶
-
typedef container_type::reference
reference
¶
-
typedef container_type::const_reference
const_reference
¶
-
typedef container_type::value_type
value_type
¶
Public Functions
-
ShrinkableVector
()¶
-
const_iterator
begin
() const¶
-
const_iterator
end
() const¶
-
const_reference
front
() const¶
-
const_reference
back
() const¶
-
void
pop_back
()¶
-
bool
empty
() const¶
-
void
clear
()¶
-
const_reference
at
(size_type pos) const¶
-
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.
-
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.
-
typedef std::vector<E>