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

Component&hyphen;private visitor for variant `&lt;` comparison&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;VARIANT&gt;
struct Variant&lowbar;LessThanVisitor;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_LessThanVisitor/2constructor.adoc[`Variant&lowbar;LessThanVisitor`]         [.small]#[constructor]#
| Create a visitor that compares variant alternatives with `&lt;`&period;
| xref:BloombergLP/bslstl/Variant_LessThanVisitor/operator_call.adoc[`operator()`] 
| Compare the visited alternative with the specified `value`&period;
|===



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