[#bsl-pair-0b-2constructor-0db] = xref:bsl.adoc[bsl]::xref:bsl/pair-0b.adoc[pair]::pair :relfileprefix: ../../ :mrdocs: Construct a `pair` with the `first` member initialized to the specified `a` value and the `second` member initialized to the specified `b` value. == Synopsis Declared in `<bslstl_pair.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class PARAM_1, class PARAM_2, class = void> requires std::is_constructible<T1, PARAM_1>::value && std::is_constructible<T2, PARAM_2>::value && !(bsl::is_pointer<bsl::remove_reference_t<PARAM_2>>::value && bsl::is_convertible<PARAM_2, BloombergLP::bslma::Allocator *>::value) constexpr pair( PARAM_1&& a, PARAM_2&& b); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#