[#bsl-pair-0b-2constructor-0f]
= xref:bsl.adoc[bsl]::xref:bsl/pair-0b.adoc[pair]::pair
:relfileprefix: ../../
:mrdocs:

Create a `pair` that has the same value as the specified `rhs` pair proxy&period; The behavior is undefined unless `T1` is constructible from `PARAM&lowbar;1` and `T2` is constructible from from `PARAM&lowbar;2`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class PARAM&lowbar;1,
    class PARAM&lowbar;2&gt;
constexpr
pair(xref:BloombergLP/bslma/ManagedPtr_PairProxy.adoc[BloombergLP::bslma::ManagedPtr&lowbar;PairProxy&lt;PARAM&lowbar;1, PARAM&lowbar;2&gt;] const& rhs);
----


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