std::stack<T,Container>::pop (3) - Linux Man Pages

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

NAME

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

Synopsis


void pop();


Removes the top element from the stack. Effectively calls c.pop_back()

Parameters


(none)

Return value


(none)

Complexity


Equal to the complexity of Container::pop_back.

See also


emplace constructs element in-place at the top
        (public member function)
(C++11)
        inserts element at the top
push (public member function)
        accesses the top element
top (public member function)