Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Erases all the elements of a forward list.
void clear();
Remarks
This member function calls erase_after(before_begin(), end()).
Requirements
Header: <forward_list>
Namespace: std