pop_front [C++ Reference]
Keywords: stl,deque,pop_front
Date: 2008-11-14T16:13:43-0800

[[pop_front]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## pop_front

Syntax:

        #include <deque>
        void pop_front();

The function pop_front() removes the first element of the deque.

The pop_front() function runs in constant time.

Related Topics: erase, front, pop_back, push_front

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •