bsl::stack::stack

Create an empty stack.

Synopsis

Declared in <bslstl_stack.h>

explicit
stack();

Description

Create an empty stack. No allocator will be provided to the underlying container. That container's memory allocation will be provided by the default allocator of its type.