Standard C++ Library Reference ISO/IEC (VERSION3)
list::resize
void resize(size_type newsize);
void resize(size_type newsize, Ty val);
The member functions both ensure that size() henceforth returns newsize. If it must make
the controlled sequence longer, the first member function appends elements with value Ty(),
while the second member function appends elements with value val. To make the controlled
sequence shorter, both member functions call erase(begin() + newsize, end()).
list::reverse
void reverse();
The member function reverses the order in which elements appear in the controlled sequence.
list::reverse_iterator
typedef reverse_iterator<iterator>
reverse_iterator;
The type describes an object that can serve as a reverse bidirectional iterator for the controlled
sequence.
list::size
size_type size() const;
The member function returns the length of the controlled sequence.
list::size_type
typedef T2 size_type;
The unsigned integer type describes an object that can represent the length of any controlled
sequence. It is described here as a synonym for the implementation-defined type T2.
list::sort
void sort();
template<class Pr3>
void sort(Pr3 pred);
Both member functions order the elements in the controlled sequence by a predicate, described
below.
For the iterators Pi and Pj designating elements at positions I and J, the first member function