bsl::queue::operator=

Assignment operators

Synopses

Declared in <bslstl_queue.h>

Assign to this queue the value of the specified rhs, and return a reference providing modifiable access to this queue.

queue<VALUE, CONTAINER>&
operator=(queue const& rhs);
» more...

Assign to this queue the value as the specified rhs and return a reference providing modifiable access to this queue. The move-assignment operator of CONTAINER is used to set the value of this queue. rhs is left in a valid but unspecified state, and if an exception is thrown, *this is left in a valid but unspecified state.

queue<VALUE, CONTAINER>&
operator=(BloombergLP::bslmf::MovableRef<queue> rhs);
» more...