Difference between revisions of "cpp/container/stack/pop"
From cppreference.com
m (1 revision: import content) |
m (langlinks) |
||
(4 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | {{cpp/container/pop|stack}} | + | {{include page|cpp/container/pop|stack}} |
+ | |||
+ | {{langlinks|cs|de|es|fr|it|ja|pl|pt|ru|tr|zh}} |
Latest revision as of 06:04, 15 November 2021
void pop(); |
||
Removes the top element from the stack. Effectively calls c.pop_back().
Contents |
[edit] Parameters
(none)
[edit] Return value
(none)
[edit] Complexity
Equal to the complexity of Container::pop_back.
[edit] Example
[edit] See also
(C++11) |
constructs element in-place at the top (public member function) |
inserts element at the top (public member function) | |
accesses the top element (public member function) |