std::list<T,Allocator>::pop_front
Min standard notice:
Removes the first element of the container. If there are no elements in the container, the behavior is undefined.
# Declarations
void pop_front();
# Return value
(none)
# Example
#include <list>
#include <iostream>
int main()
{
std::list<char> chars{'A', 'B', 'C', 'D'};
for (; !chars.empty(); chars.pop_front())
std::cout << "chars.front(): '" << chars.front() << "'\n";
}