Construct the second member of a pair from the specified value without specifying an allocator. This function (perfectly) forwards value to the constructor of (template parameter) TYPE. Note that this constructor is constrained to avoid accidentally becoming a stronger match for the move and copy constructors.

Synopsis

Declared in <bslstl_pair.h>

template<
    class PARAM,
    class = void>
requires !bsl::is_same<Pair_Second,
                                      bsl::remove_cvref_t<PARAM>>::value
constexpr
explicit
Pair_Second(PARAM&& value);

Created with MrDocs