bsl::queue::operator=

Assignment operators

Synopses

Declared in <bslstl_queue.h>

Assign to this queue the value of the specified rhs.

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

Assign to this queue by moving from the specified rhs.

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

Return Value

reference providing modifiable access to this queue

Parameters

NameDescription
rhsqueue to copy-assign from