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

Determine whether `t&lowbar;TO` is constructible from `t&lowbar;FROM`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;TO,
    class t&lowbar;FROM&gt;
struct Variant&lowbar;IsConstructible
    : std::is&lowbar;constructible&lt;t&lowbar;TO, t&lowbar;FROM&gt;
----

== Description

This component&hyphen;private metafunction derives from `std&colon;&colon;is&lowbar;constructible&lt;t&lowbar;TO, t&lowbar;FROM&gt;` in C&plus;&plus;11 and later, and `bsl&colon;&colon;true&lowbar;type` in C&plus;&plus;03&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `std::is&lowbar;constructible&lt;t&lowbar;TO, t&lowbar;FROM&gt;`
| 
|===


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