[#bsl-pair-03] = xref:bsl.adoc[bsl]::xref:bsl/pair-0b.adoc[pair<T1, T2>] :relfileprefix: ../ :mrdocs: Deduce the specified types `T1` and `T2` from the corresponding template parameters of the `bsl::pair` supplied to the constructor of `pair`. This guide does not participate in deduction unless the specified `ALLOC` inherits from `bslma::Allocator`. == Synopsis Declared in `<bslstl_pair.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ALLOC> requires bsl::is_convertible_v<ALLOC *, BloombergLP::bslma::Allocator *> xref:bsl/pair-0b.adoc[pair<T1, T2>]( xref:bsl/pair-0b.adoc[pair<T1, T2>], ALLOC*) -> xref:bsl/pair-0b.adoc[pair<T1, T2>]; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#