Assign to this object by moving from the specified rhs.
Synopsis
Declared in <bdlb_nullablevalue.h>
template<class BDE_OTHER_TYPE>
NullableValue<TYPE>&
operator=(BloombergLP::bslmf::MovableRef_Deduced<NullableValue<BDE_OTHER_TYPE>> rhs);
Description
Assign to this object the null value if the specified rhs object is null, and the value of rhs.value() (of BDE_OTHER_TYPE) converted to TYPE otherwise. Return a reference providing modifiable access to this object. Note that this method will fail to compile if TYPE and `BDE_OTHER_TYPE' are not compatible.
Return Value
a reference providing modifiable access to this object
Parameters
Name |
Description |
rhs |
nullable value from which to move |
Created with MrDocs