push_front [C++ Reference]
Keywords: stl,list,push_front
Date: 2008-10-14T15:42:06-0700

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

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## push_front

Syntax:

        #include <list>
        void push_front( const TYPE& val );

The push_front() function inserts val at the beginning of list.

push_front() runs in constant time.

Related Topics: assign, front, insert, pop_front, push_back

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