std::list::pop_back

From Cppreference

Jump to: navigation, search
void pop_back();

Removes the last element of the container.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Complexity

Constant.

[edit] See also

pop_front
removes the first element
(public member function)
push_back
inserts elements to the end
(public member function)