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

Assignment operators

== Synopses

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

Assign to the target the value of the specified `rhs`, and return a reference providing modifiable access to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef.adoc[bdlb::NullableValueRef&lt;TYPE&gt;]&
xref:BloombergLP/bdlb/NullableValueRef/operator_assign-0f.adoc[operator&equals;](xref:BloombergLP/bdlb/NullableValueRef.adoc[NullableValueRef] const& rhs);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/operator_assign-0f.adoc[_» more&period;&period;&period;_]#

Assign to the target the value of the specified `rhs`, and return a reference providing modifiable access to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef.adoc[bdlb::NullableValueRef&lt;TYPE&gt;]&
xref:BloombergLP/bdlb/NullableValueRef/operator_assign-060.adoc[operator&equals;](TYPE const& rhs);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/operator_assign-060.adoc[_» more&period;&period;&period;_]#

Reset the target to the default constructed state (i&period;e&period;, to have the null value)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef.adoc[bdlb::NullableValueRef&lt;TYPE&gt;]&
xref:BloombergLP/bdlb/NullableValueRef/operator_assign-06c.adoc[operator&equals;](xref:bsl/nullopt_t.adoc[bsl::nullopt&lowbar;t] const&);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/operator_assign-06c.adoc[_» more&period;&period;&period;_]#

Assign to the target the value of the specified `rhs`, and return a reference providing modifiable access to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef.adoc[bdlb::NullableValueRef&lt;TYPE&gt;]&
xref:BloombergLP/bdlb/NullableValueRef/operator_assign-00f.adoc[operator&equals;](xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/operator_assign-00f.adoc[_» more&period;&period;&period;_]#

Assign to the target the value of the specified `rhs`, and return a reference providing modifiable access to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlb/NullableValueRef.adoc[bdlb::NullableValueRef&lt;TYPE&gt;]&
xref:BloombergLP/bdlb/NullableValueRef/operator_assign-00c.adoc[operator&equals;](xref:bsl/optional-072.adoc[bsl::optional&lt;TYPE&gt;] const& rhs);
----

[.small]#xref:BloombergLP/bdlb/NullableValueRef/operator_assign-00c.adoc[_» more&period;&period;&period;_]#


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