[#BloombergLP-bdlb-NullableAllocatedValue-operator_assign-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue]::operator&equals;
:relfileprefix: ../../../
:mrdocs:

Assignment operators

== Synopses

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

Assign to this object 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/NullableAllocatedValue.adoc[NullableAllocatedValue&lt;TYPE&gt;]&
xref:BloombergLP/bdlb/NullableAllocatedValue/operator_assign-0c.adoc[operator&equals;](xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue] const& rhs);
----

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

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


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

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

Reset this object 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/NullableAllocatedValue.adoc[NullableAllocatedValue&lt;TYPE&gt;]&
xref:BloombergLP/bdlb/NullableAllocatedValue/operator_assign-00.adoc[operator&equals;](xref:bsl/nullopt_t.adoc[bsl::nullopt&lowbar;t] const& nullopt);
----

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

== Return Value

reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rhs*
| right&hyphen;hand operand
| *nullopt*
| disengaged&hyphen;optional tag&semi; value is unused
|===


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