[#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::first_type` and `T::second_type`, respectively. == Synopsis Declared in `<bslalg_typetraitpair.h>` [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::IsPair<TYPE>`. | xref:BloombergLP/bslalg/TypeTraitPair/NestedTraitDeclaration.adoc[`NestedTraitDeclaration`] | This class template ties the `bslalg::TypeTraitPair` trait tag to the `bslmf::IsPair` trait metafunction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#