[#BloombergLP-bdlb-NullableValue-operator_assign-039]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assign to this object the specified `rhs` converted to `TYPE`&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;nullablevalue&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class BDE&lowbar;OTHER&lowbar;TYPE&gt;
xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue&lt;TYPE&gt;]&
operator&equals;(BDE&lowbar;OTHER&lowbar;TYPE const& rhs);
----

== Description

Assign to this object the value of the specified `rhs` object (of `BDE&lowbar;OTHER&lowbar;TYPE`) converted to `TYPE`, and return a reference providing modifiable access to this object&period; Note that this method will fail to compile if `TYPE` and `BDE&lowbar;OTHER&lowbar;TYPE` are not compatible&period; Note that on C&plus;&plus;03 but not in C&plus;&plus;11 and beyond, if `BDE&lowbar;OTHER&lowbar;TYPE` is `bslmf&colon;&colon;MovableRef&lt;TYPE3&gt;` and `TYPE` supports moves and&sol;or assigns from that type, a move rather than a copy may take place&period;

== Return Value

a reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| value converted to `TYPE` and assigned
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
