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

Bind `second` to the entity bound to `other&period;second`&period;

== Synopsis

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

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

== Description

Bind to `second` the entity of (template parameter) `TYPE` that is bound to the `second` reference of `other`&period; Note that, unlike the primary template, these constructors must be declared and defaulted as the user&hyphen;declared copy&hyphen;assignment operator would inhibit the declaration of the move constructor, which in turn would mean that the implicitly declared constructors for the derived `pair` class would be just the copy constructor taking a `const` reference, even when the second element is move&hyphen;only&period; Declaring the move constructor deletes the copy constructor unless it too is declared and defaulted&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| object whose `second` reference is copied
|===


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