topAccess next element (public member function ) pushInsert element (public member function ) emplaceConstruct and insert element (public member function ) popRemove top element (public member function ) swapSwa
stack::push stack::emplace (C++11) stack::pop stack::swap (C++11) Non-member functions operator==operator!=operator<operator>operator<=operator>=operator<=> (C++20) std::swap (C++11) Helper classes std::uses_allocator (C++11) Deduction guides(C++17) Defined in header <stack> template<...
7-12)These constructors participate in overload resolution only ifstd::uses_allocator<Container, Alloc>::valueistrue, that is, if the underlying container is an allocator-aware container (true for all standard library containers that can be used withstack). ...
stack::push_range (C++23) stack::emplace (C++11) stack::pop stack::swap (C++11) Non-member functions swap(std::stack) (C++11) operator==operator!=operator<operator>operator<=operator>=operator<=> (C++20) Helper classes uses_allocator<std::stack> (C++11) formatter<std::stack> (C++23...