Difference between revisions of "cpp/container/stack"
From cppreference.com
(+uses_allocator) |
(target has been moved) |
||
Line 47: | Line 47: | ||
{{dcl list begin}} | {{dcl list begin}} | ||
{{dcl list template | cpp/container/dcl list operator_comp | stack}} | {{dcl list template | cpp/container/dcl list operator_comp | stack}} | ||
− | {{dcl list template | cpp/container/dcl list | + | {{dcl list template | cpp/container/dcl list swap2 | stack}} |
{{dcl list end}} | {{dcl list end}} | ||
Revision as of 10:57, 3 November 2011
Template:cpp/container/stack/sidebar
Defined in header <stack>
|
||
template< class T, |
||
The std::stack
class is a container adapter that gives the programmer the functionality of a stack - specifically, a FILO (first-in, last-out) data structure.
Contents |
Member types
Template:tdcl list begin Template:tdcl list hitem Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list end