[#bsl-pair-04]
= xref:bsl.adoc[bsl]::xref:bsl/pair-0b.adoc[pair&lt;T1, T2&gt;]
:relfileprefix: ../
:mrdocs:

Deduce the specified types `T1` and `T2` from the corresponding template parameters of the `std&colon;&colon;pair` supplied to the constructor of `pair`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class T1,
    class T2&gt;
xref:bsl/pair-0b.adoc[pair&lt;T1, T2&gt;](std::pair&lt;T1, T2&gt;) -> xref:bsl/pair-0b.adoc[pair&lt;T1, T2&gt;];
----


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