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)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
void pop_back();

Removes the last element of the container.

No iterators or references are invalidated.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Complexity

Constant.

[edit] See also

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