resize

Resizes the list.

  void resize(size_type sz, T c = T());
  
ListModifiers

The list class has several overloaded functions to allow modification of the list object.