Resizes the list.
void resize(size_type sz, T c = T());
The list class has several overloaded functions to allow modification of the list object.