Const iterator used to iterate through a list. reverse_iterator Reversible Container Iterator used to iterate backwards through a list. const_reverse_iterator Reversible Container Const iterator used to iterate backwards through a list. iterator begin() Container Returns an iterator pointing to the beginning of the list. iterator end() Container Returns an iterator pointing to the end of the list. const_iterator begin() const Container Returns a const_iterator pointing to the beginning of the list. const_iterator end() const Container Returns a const_iterator pointing to the end of the list. reverse_iterator rbegin() Reversible Container Returns a reverse_iterator pointing to the beginning of the reversed list. reverse_iterator rend() Reversible Container Returns a reverse_iterator pointing to the end of the reversed list. const_reverse_iterator rbegin() const Reversible Container Returns a const_reverse_iterator pointing to the beginning of the reversed list. const_reverse_iterator rend() const Reversible Container Returns a const_reverse_iterator pointing to the end of the reversed list. size_type size() const Container Returns the size of the list. Note: you should not assume that this function is constant time. It is permitted to be O(N ), where N is the number of elements in the list . If you wish to test whether a list is empty, you should write L.empty() rather than L.size() == 0. size_type max_size() const Container Returns the largest possible size of the list. bool empty() const Container true if the list 's size is 0. list() Container Creates an empty list. list(size_type n) Sequence Creates a list with n elements, each of which is a copy of T(). list(size_type n, const T& t) Sequence Creates a list with n copies of t.
Добавить отзыв
ВСЕ ОТЗЫВЫ О КНИГЕ В ИЗБРАННОЕ

0

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

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