Create a stack whose underlying container has the value of the specified container.
Declared in <bslstl_stack.h>
explicit
stack(CONTAINER const& container);
Create a stack whose underlying container has the value of the specified container. The currently installed default allocator is used to supply memory.
| Name | Description |
|---|---|
| container | underlying container whose contents initialize this stack |