bsl::pair::pair

Same as the preceding constructor, using the specified basicAllocator to supply memory.

Synopsis

Declared in <bslstl_pair.h>

template<
    class... ARGS_1,
    class... ARGS_2>
pair(
    std::piecewise_construct_t tag,
    std::tuple<ARGS_1...> first_args,
    std::tuple<ARGS_2...> second_args,
    BloombergLP::bslma::Allocator* basicAllocator);

Parameters

NameDescription
tagtag selecting piece-wise construction
first_argstuple of arguments forwarded to the constructor of T1
second_argstuple of arguments forwarded to the constructor of T2
basicAllocatorallocator used to supply memory