[#BloombergLP-bslmf-IsPair-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::IsPair
:relfileprefix: ../../
:mrdocs:

Metafunction that is `false` for all types except `bsl&colon;&colon;pair` specializations&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;ispair&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
struct IsPair
    : 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/bslmf/IsPair-06.adoc[`IsPair&lt;bsl::pair&lt;T1, T2&gt;&gt;`] 
| Trait indicating `pair` is a pair type&period;
|===



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