bsl::stack::stack

Create a stack having the value of the specified original by moving the contents of original to the new stack. The allocator associated with original is propagated for use in the new stack. original is left in a valid but unspecified state.

Synopsis

Declared in <bslstl_stack.h>

stack(BloombergLP::bslmf::MovableRef<stack> original);