clear

Clears a list by removing all elements.

  void clear();
  
ListOperations

The list class provides for operations to manipulate the list.