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

This component&hyphen;private trivial tag type is used to distinguish between arguments passed by a user, and an `enable&lowbar;if` argument&period; It is not default constructible so the following construction never invokes a constrained single parameter constructor&colon; &grave; struct SomeType &lcub; SomeType(int, const std&colon;&colon;string &amp;s &equals; &quot;default&quot;)&lcub;&rcub; &rcub;&semi;

== Synopsis

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

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

== Description

variant&lt;SomeType&gt; o(1, &lcub;&rcub;)&semi; &grave;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_NoSuchType/2constructor.adoc[`Variant&lowbar;NoSuchType`]         [.small]#[constructor]#
| Create a `Variant&lowbar;NoSuchType` object&period;
|===



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