<stack>

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

Defines the template class stack and two supporting templates.

#include <stack>  
  

Operators

operator!=Tests if the stack object on the left side of the operator is not equal to the stack object on the right side.
operator<Tests if the stack object on the left side of the operator is less than the stack object on the right side.
operator<=Tests if the stack object on the left side of the operator is less than or equal to the stack object on the right side.
operator==Tests if the stack object on the left side of the operator is equal to the stack object on the right side.
operator>Tests if the stack object on the left side of the operator is greater than the stack object on the right side.
operator>=Tests if the stack object on the left side of the operator is greater than or equal to the stack object on the right side.

Classes

stack ClassA template container adaptor class that provides a restriction of functionality limiting access to the element most recently added to some underlying container type.

Header Files Reference
Thread Safety in the C++ Standard Library
Standard Template Library

Show: