Move‐assign to this object the value of the specified rhs object.
Synopsis
Declared in <bslstl_stack.h>
stack<VALUE, CONTAINER>&
operator=(BloombergLP::bslmf::MovableRef<stack> rhs) noexcept(false);
Description
Assign to this object the value of the specified rhs object, and return a reference providing modifiable access to this object. The contents of rhs are moved to this stack using the move‐assignment operator of CONTAINER. rhs is left in a valid but unspecified state, and if an exception is thrown, *this is left in a valid but unspecified state.
Return Value
reference providing modifiable access to this object
Parameters
Name |
Description |
rhs |
stack to move‐assign from |
Created with MrDocs