bsl::pair::pair

Construct a pair from the specified rvalue other pair.

Synopsis

Declared in <bslstl_pair.h>

template<
    class PARAM_1,
    class PARAM_2>
pair(
    pair<PARAM_1, PARAM_2>&& other,
    BloombergLP::bslma::Allocator* basicAllocator);

Parameters

NameDescription
otherpair whose members are moved into this pair's members
basicAllocatorallocator used to supply memory