Standard C++ Library Reference ISO/IEC (VERSION3)
vector::assign
template<class InIt>
void assign(InIt first, InIt last);
void assign(size_type count, const Ty& val);
If InIt is an integer type, the first member function behaves the same as
assign((size_type)first, (Ty)last). Otherwise, the first member function
replaces the sequence controlled by *this with the sequence [first, last), which must
not overlap the initial controlled sequence. The second member function replaces the sequence
controlled by *this with a repetition of count elements of value val.
vector::at
const_reference at(size_type off) const;
reference at(size_type off);
The member function returns a reference to the element of the controlled sequence at position
off. If that position is invalid, the function throws an object of class out_of_range.
vector::back
reference back();
const_reference back() const;
The member function returns a reference to the last element of the controlled sequence, which
must be non-empty.
vector::begin
const_iterator begin() const;
iterator begin();
The member function returns a random-access iterator that points at the first element of the
sequence (or just beyond the end of an empty sequence).
vector::capacity
size_type capacity() const;
The member function returns the storage currently allocated to hold the controlled sequence, a
value at least as large as size().