ShrinkableVector

template<class E>
class ShrinkableVector

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

Public Types

using container_type = std::vector<E>
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 iterator begin()
inline const_iterator begin() const
inline iterator end()
inline const_iterator end() const
inline reference front()
inline const_reference front() const
inline reference back()
inline const_reference back() const
inline iterator erase(iterator pos)
inline iterator erase(iterator first, iterator last)
inline void pop_back()
inline bool empty() const
inline void clear()
inline size_type size() const
inline reference at(size_type pos)
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.