[#BloombergLP-bslstl-Variant_ConvertsWithoutNarrowing-0b]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::Variant&lowbar;ConvertsWithoutNarrowing
:relfileprefix: ../../
:mrdocs:

Metafunction that is `true&lowbar;type` when `t&lowbar;SOURCE` converts to `t&lowbar;DEST` without narrowing, and `false&lowbar;type` otherwise&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class t&lowbar;DEST,
    class t&lowbar;SOURCE,
    class = void&gt;
struct Variant&lowbar;ConvertsWithoutNarrowing
    : xref:bsl/false_type.adoc[bsl::false&lowbar;type]
----

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `xref:bsl/false_type.adoc[bsl::false&lowbar;type]`
| Metafunction representing the boolean constant `false`&period;
|===

== Specializations

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslstl/Variant_ConvertsWithoutNarrowing-0a.adoc[`Variant&lowbar;ConvertsWithoutNarrowing&lt;t&lowbar;DEST, t&lowbar;SOURCE, bsl::void&lowbar;t&lt;decltype(Variant&lowbar;ArrayHelper&lt;t&lowbar;DEST&gt;&lcub;&lcub;std&colon;&colon;declval&lt;t&lowbar;SOURCE&gt;()&rcub;&rcub;)&gt;&gt;`] 
| Determine whether `t&lowbar;SOURCE` converts to `t&lowbar;DEST` without narrowing&period;
|===



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