stl:stack:stack_constructors

C++ Reference

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.