Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.06 KB

stack.md

File metadata and controls

45 lines (33 loc) · 2.06 KB
descriptiontitlems.datef1_keywordshelpviewer_keywordsms.assetid
Learn more about: <stack>
<stack>
11/04/2016
<stack>
stack, stack header
stack header
89d8999e-c773-46f2-86c1-4b3b5aedb1c1

<stack>

Defines the class template stack and two supporting templates.

Requirements

Header: <stack>

Namespace: std

Note

The <stack> library also uses the #include <initializer_list> statement.

Members

Operators

NameDescription
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

NameDescription
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.

See also

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

close