Create a queue by moving from the specified container.

Synopsis

Declared in <bslstl_queue.h>

explicit
queue(BloombergLP::bslmf::MovableRef<CONTAINER> container);

Description

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.

Parameters

Name

Description

container

container to move from

Created with MrDocs