bsl::pair<T1, T2>

Deduce the specified types T1 and T2 from the corresponding template parameters of the std::pair supplied to the constructor of pair. This guide does not participate in deduction unless the specified ALLOC inherits from bslma::Allocator.

Synopsis

Declared in <bslstl_pair.h>

template<
    class T1,
    class T2,
    class ALLOC>
requires bsl::is_convertible_v<ALLOC *, BloombergLP::bslma::Allocator *>
pair<T1, T2>(
    std::pair<T1, T2>,
    ALLOC*) -> pair<T1, T2>;