bsl::stack::operator=

Assignment operators

Synopses

Declared in <bslstl_stack.h>

Assign to this object the value of the specified rhs object.

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

Move-assign to this object the value of the specified rhs object.

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

Return Value

reference providing modifiable access to this object

Parameters

NameDescription
rhsstack whose value is assigned to this object