Assignment operators
Declared in <bslstl_optional.h>
Assign to this object the value of the specified rhs object, and return a non-const reference to this object.
Optional_Base<t_TYPE, t_USES_BSLMA_ALLOC>&
operator=(Optional_Base const& rhs);
» more...
Assign a new value to this optional.
Optional_Base<t_TYPE, t_USES_BSLMA_ALLOC>&
operator=(BloombergLP::bslmf::MovableRef<Optional_Base> rhs);
» more...
reference providing modifiable access to this object
| Name | Description |
|---|---|
| rhs | right-hand operand |