Create a stack whose underlying container has the value of the specified container.

Synopsis

Declared in <bslstl_stack.h>

explicit
stack(CONTAINER const& container);

Description

Create a stack whose underlying container has the value of the specified container. The currently installed default allocator is used to supply memory.

Parameters

Name

Description

container

underlying container whose contents initialize this stack

Created with MrDocs