pop_front

C++ Reference

pop_front
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: