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

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

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

## pop_back

Syntax:

        #include <list>
        void pop_back();

The pop_back() function removes the last element of the list.

pop_back() runs in constant time.

Related Topics: back, erase, pop_front, push_back

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