[#BloombergLP-bdlb-NullableValue-operator_assign-034] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue]::operator= :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdlb_nullablevalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class BDE_OTHER_TYPE> xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<TYPE>]& operator=(xref:BloombergLP/bslmf/MovableRef_Deduced.adoc[BloombergLP::bslmf::MovableRef_Deduced<NullableValue<BDE_OTHER_TYPE>>] rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#