Namespaces
Variants
Views
Actions

std::vector::pop_back

From cppreference.com
< cpp‎ | container‎ | vector
Revision as of 17:25, 2 November 2012 by P12bot (Talk | contribs)

void pop_back();

Removes the last element of the container.

No iterators or references except for back() and end() are invalidated.

Contents

Parameters

(none)

Return value

(none)

Complexity

Constant.

See also

adds elements to the end
(public member function) [edit]