vector& operator=(const vector&) Container The assignment operator
void reserve(size_t) vector See below.
vector reference front() Sequence Returns the first element.
const_reference front() const Sequence Returns the first element.
reference back() Back Insertion Sequence Returns the last element.
const_reference back() const Back Insertion Sequence Returns the last element.
void push_back(const T&) Back Insertion Sequence Inserts a new element at the end.
void pop_back() Back Insertion Sequence Removes the last element.
void swap(vector&) Container Swaps the contents of two vectors.
iterator insert(iterator pos, const T& x) Sequence Inserts x before pos.
template <class InputIterator> void insert(iterator pos, InputIterator f, InputIterator l) [1] Sequence Inserts the range [first, last) before pos.
void insert(iterator pos, size_type n, const T& x) Sequence Inserts n copies of x before pos.
iterator erase(iterator pos) Sequence Erases the element at position pos.
iterator erase(iterator first, iterator last) Sequence Erases the range [first, last)
void clear() Sequence Erases all of the elements.
void resize(n, t = T()) Sequence Inserts or erases elements at the end such that the size becomes n.
bool operator==(const vector&, const vector&) Forward Container Tests two vectors for equality. This is a global function, not a member function.
bool operator<(const vector&, const vector&) Forward Container Lexicographical comparison. This is a global function, not a member function.
New members
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

Вы можете отметить интересные вам фрагменты текста, которые будут доступны по уникальной ссылке в адресной строке браузера.

Отметить Добавить цитату