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

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

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

## front

Syntax:

        #include <deque>
        TYPE& front();
        const TYPE& front() const;

The front() function returns a reference to the first element of the deque, and runs in constant time.

Related Topics: back, pop_front, push_front

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