Translate a range of `bsl::pair`s into a range of `std::pair`s.

Synopsis

Declared in <bdlb_pairutil.h>

template<class t_RANGE_BSL_PAIR>
decltype(PairUtil::adaptForRanges(
                                     bsl::forward<t_RANGE_BSL_PAIR>(bslRange)))
operator|(
    t_RANGE_BSL_PAIR&& bslRange,
    /* implementation-defined */ const& adaptor);

Description

Translate the range of bsl::pair`s into a range of `std::pair`s, where each `pair of the resulting range is a pair of references to the corresponding members of the corresponding pair in the input range.

Return Value

adapted range of `std::pair`s

Parameters

Name

Description

bslRange

range of `bsl::pair`s to adapt

adaptor

unused; selects the adaptForRanges pipe overload

Created with MrDocs