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

This component&hyphen;private struct is a visitor that destroys the active alternative of the visited `variant` object&period;

== Synopsis

Declared in `&lt;bslstl&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/bslstl/Variant_DestructorVisitor/operator_call.adoc[`operator()`] 
| Destroy the specified `object`, which is the alternative that is being visited&period;
|===



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