bsl::pair::pair

Create a pair from the specified a and b lvalue references.

Synopsis

Declared in <bslstl_pair.h>

pair(
    bsl::add_lvalue_reference<T1 const>::type a,
    bsl::add_lvalue_reference<T2 const>::type b,
    BloombergLP::bslma::Allocator* basicAllocator);

Parameters

NameDescription
avalue copied into the first member
bvalue copied into the second member
basicAllocatorallocator used to supply memory