deque::pop_front

deque::pop_front

void pop_front();

The member function removes the first element of the controlled sequence, which must be non-empty. Removing the element invalidates only iterators and references that designate the erased element.

See the related sample program.