[#bsl-pair-0b-2constructor-0c] = xref:bsl.adoc[bsl]::xref:bsl/pair-0b.adoc[pair]::pair :relfileprefix: ../../ :mrdocs: Construct a `pair` having the same value as that of the specified `original` pair. Optionally specify a `basicAllocator`, used to supply memory for each of `first` and `second` when its type (template parameter `T1` or `T2`, respectively) uses `bslma`‐style allocators. Note that the copy constructor is implicitly declared (if `T1` and `T2` are both `copy‐constructible`) by compilers that do not support defaulted declarations. == Synopsis Declared in `<bslstl_pair.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- pair( xref:bsl/pair-0b.adoc[pair] const& original, xref:BloombergLP/bslma/Allocator.adoc[BloombergLP::bslma::Allocator]* basicAllocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#