std::list::pop_front

From Cppreference

Jump to: navigation, search
void pop_front();

Removes the first element of the container.

Contents

[edit] Parameters

(none)

[edit] Return value

(none)

[edit] Complexity

Constant.

[edit] See also

pop_back
removes the last element
(public member function)
push_front
inserts elements to the beginning
(public member function)