Stack constructors [C++ Reference]
Keywords: stl,stack,stack_constructors
Date: 2008-10-14T15:42:10-0700

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

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## Stack constructors

Syntax:

        #include <stack>
        stack();
        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 •