Stack constructors [C++ Reference]
Keywords: stl,stack,stack_constructors
Date: 2009-12-07T05:48:42-0800

[[Stack constructors]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## Stack constructors

Syntax:

        #include <stack>
        stack();
        explicit stack( const Container& con );

Stacks have an empty constructor and a constructor that can be used to specify a container type.

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •