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

This component&hyphen;private struct is used to check whether an alternative given by (template parameter) `t&lowbar;TYPE` is a potential match for an argument of a `bsl&colon;&colon;variant` constructor or assignment operator that does not take an explicitly specified alternative type&period; The standard allows such conversion only when the declaration `t&lowbar;TYPE d&lowbar;x&lsqb;&rsqb;&equals; &lcub;expr&rcub;&semi;` is valid, where `expr` is the (forwarded) argument expression&period;

== Synopsis

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

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

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_ArrayHelper/d_x.adoc[`d&lowbar;x`] 
| Array used to test narrowing conversions during overload resolution&period;
|===



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