[#bsl-Pair_Second-05e-2constructor-08f]
= xref:bsl.adoc[bsl]::xref:bsl/Pair_Second-05e.adoc[Pair&lowbar;Second]::Pair&lowbar;Second
:relfileprefix: ../../
:mrdocs:

Construct the `second` member using the `allocator&lowbar;arg` idiom&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Pair&lowbar;Second(
    xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* basicAllocator,
    xref:bsl/Pair_BslmaIdiomAllocatorArgT.adoc[Pair&lowbar;BslmaIdiomAllocatorArgT] idiom);
----

== Description

Construct the `second` member of a `pair`, using the specified `basicAllocator` to supply memory&period; This constructor is selected when (template parameter) `TYPE` takes a `bslma`&hyphen;style allocator as the second constructor argument preceded by `bsl&colon;&colon;allocator&lowbar;arg`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *basicAllocator*
| allocator used to supply memory
| *idiom*
| tag selecting the `allocator&lowbar;arg` construction idiom
|===


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