[#bsl-pair-0b-2constructor-020] = xref:bsl.adoc[bsl]::xref:bsl/pair-0b.adoc[pair]::pair :relfileprefix: ../../ :mrdocs: Construct a `pair` from the specified `other` pair, using the specified `basicAllocator` to supply memory for each member when its type uses `bslma`‐style allocators. == Synopsis Declared in `<bslstl_pair.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class PARAM_1, class PARAM_2> pair( std::pair<PARAM_1, PARAM_2> const& other, xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#