Syntax:
#include <list> void pop_front();
The function pop_front() removes the first element of the list.
The pop_front() function runs in constant time.
Related Topics: erase, front, pop_back, push_front