[#BloombergLP-bdlb-Variant_DestructorVisitor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::Variant&lowbar;DestructorVisitor
:relfileprefix: ../../
:mrdocs:

This visitor, when invoked as a function object on an instance of some template parameter `TYPE`, will destroy that instance&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Variant&lowbar;DestructorVisitor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlb/Variant_DestructorVisitor/operator_call.adoc[`operator()`] 
| Destroy the supplied `object` of template parameter `TYPE`&period;
|===



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