[#BloombergLP-bdlb-Variant15-assign]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant15.adoc[Variant15]::assign
:relfileprefix: ../../../
:mrdocs:

Assign the specified `TYPE` `value` to this object&period;

== Synopses

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

Assign the specified `TYPE` `value` to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp&lt;TYPES&gt;]&
xref:BloombergLP/bdlb/VariantImp/assign-06.adoc[assign](TYPE const& value);
----

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

Assign the specified `TYPE` `value` to this object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
xref:BloombergLP/bdlb/VariantImp.adoc[VariantImp&lt;TYPES&gt;]&
xref:BloombergLP/bdlb/VariantImp/assign-0b.adoc[assign](TYPE&& value);
----

[.small]#xref:BloombergLP/bdlb/VariantImp/assign-0b.adoc[_» more&period;&period;&period;_]#

== Return Value

reference providing modifiable access to this object

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| value assigned to or stored in this variant
|===


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