clear
From C/C++ Reference
clear
Syntax:
#include <list> void clear();
The function clear() deletes all of the elements in the list. clear() runs in linear time.
Related topics:
From C/C++ Reference
#include <list> void clear();
The function clear() deletes all of the elements in the list. clear() runs in linear time.