[#BloombergLP-bdlb-Variant_SwapVisitor-operator_call]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Variant_SwapVisitor.adoc[Variant&lowbar;SwapVisitor]::operator()
:relfileprefix: ../../../
:mrdocs:

Swap the value of template parameter `TYPE` with the peer buffer supplied at construction&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
void
operator()(TYPE& value);
----

== Parameters

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


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