Namespaces
Variants
Views
Actions

std::vector::pop_back

From cppreference.com
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]