[#bsl-Pair_Second-01-2constructor-07]
= xref:bsl.adoc[bsl]::xref:bsl/Pair_Second-01.adoc[Pair&lowbar;Second&lt;TYPE&&gt;]::Pair&lowbar;Second
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/Pair_Second-01/2constructor-089.adoc[Pair&lowbar;Second](xref:bsl/Pair_Second-01.adoc[Pair&lowbar;Second] const& other) = default;
----

[.small]#xref:bsl/Pair_Second-01/2constructor-089.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/Pair_Second-01/2constructor-00.adoc[Pair&lowbar;Second](xref:bsl/Pair_Second-01.adoc[Pair&lowbar;Second]&& other) = default;
----

[.small]#xref:bsl/Pair_Second-01/2constructor-00.adoc[_» more&period;&period;&period;_]#

Bind the specified `value` into the `second` reference&hyphen;member&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
explicit
xref:bsl/Pair_Second-01/2constructor-08d.adoc[Pair&lowbar;Second](TYPE& value);
----

[.small]#xref:bsl/Pair_Second-01/2constructor-08d.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class PARAM,
    class = void&gt;
requires std&colon;&colon;is&lowbar;constructible&lt;TYPE, PARAM&gt;&colon;&colon;value
constexpr
explicit
xref:bsl/Pair_Second-01/2constructor-0e.adoc[Pair&lowbar;Second](PARAM&& value);
----

[.small]#xref:bsl/Pair_Second-01/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Construct the `second` member of a `pair`, forwarding in order the elements in the specified `argsPack` to the corresponding constructor of (template parameter) `TYPE`&period; The length of the `argsPack` is equal to the length of the specified (template parameter pack) `I&period;&period;&period;` and passed to the constructor via the `Pair&lowbar;IndexSequence` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ARG&gt;
constexpr
xref:bsl/Pair_Second-01/2constructor-04.adoc[Pair&lowbar;Second](
    std::tuple&lt;ARG&gt;&& arg,
    xref:BloombergLP/bslstl/Pair_IndexSequence.adoc[BloombergLP::bslstl::Pair&lowbar;IndexSequence&lt;0U&gt;]);
----

[.small]#xref:bsl/Pair_Second-01/2constructor-04.adoc[_» more&period;&period;&period;_]#


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class PARAM&gt;
constexpr
xref:bsl/Pair_Second-01/2constructor-0c.adoc[Pair&lowbar;Second](
    PARAM&& value,
    xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* basicAllocator,
    xref:bsl/Pair_BslmaIdiomNone.adoc[Pair&lowbar;BslmaIdiomNone]);
----

[.small]#xref:bsl/Pair_Second-01/2constructor-0c.adoc[_» more&period;&period;&period;_]#


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