std::queue<T,Container>::pop (3) - Linux Manuals

std::queue<T,Container>::pop: std::queue<T,Container>::pop

NAME

std::queue<T,Container>::pop - std::queue<T,Container>::pop

Synopsis


void pop();


Removes an element from the front of the queue. Effectively calls c.pop_front()

Parameters


(none)

Return value


(none)

Complexity


Equal to the complexity of Container::pop_front.

See also


emplace constructs element in-place at the end
        (public member function)
(C++11)
        inserts element at the end
push (public member function)
        access the first element
front (public member function)