[#BloombergLP-bslalg-TypeTraitPair]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::TypeTraitPair
:relfileprefix: ../../
:mrdocs:

A `TYPE` with this trait has two data members, `first` and `second` of types `T&colon;&colon;first&lowbar;type` and `T&colon;&colon;second&lowbar;type`, respectively&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;typetraitpair&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct TypeTraitPair;
----

== Types

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslalg/TypeTraitPair/Metafunction.adoc[`Metafunction`] 
| Metafunction yielding `bslmf&colon;&colon;IsPair&lt;TYPE&gt;`&period;
| xref:BloombergLP/bslalg/TypeTraitPair/NestedTraitDeclaration.adoc[`NestedTraitDeclaration`] 
| This class template ties the `bslalg&colon;&colon;TypeTraitPair` trait tag to the `bslmf&colon;&colon;IsPair` trait metafunction&period;
|===



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