Create a queue by moving from the specified container.
Declared in <bslstl_queue.h>
explicit
queue(BloombergLP::bslmf::MovableRef<CONTAINER> container);
Create a queue having the same sequence of values as the specified container. The allocator associated with container (if any) is propagated for use in the new queue. container is left in valid but unspecified state.
| Name | Description |
|---|---|
| container | container to move from |