std::vector::pop_back

From Cppreference

Jump to: navigation, search
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

inserts elements to the end
(public member function)