bsl::deque::deque

Create a deque by moving from original.

Synopsis

Declared in <bslstl_deque.h>

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

Description

Create a deque having the same value as the specified original object by moving (in constant time) the contents of original to the new deque. The allocator associated with original is propagated for use in the newly-created deque. original is left in a valid but unspecified state.

Parameters

NameDescription
originaldeque to move from