BloombergLP::bdlb::PairUtil::adaptForRanges

Given a range of bsl::pairs, translate it to a range of std::pairs, where each element of the resulting std::pairs is a reference to corresponding member of the corresponding element of the bsl range.

Synopsis

Declared in <bdlb_pairutil.h>

template<class t_RANGE_BSL_PAIR>
decltype(bsl::views::transform(
                            bsl::forward<t_RANGE_BSL_PAIR>(bslRange),
                            std::declval<const PairUtil_StdPairRefAdaptor&>()))
adaptForRanges(t_RANGE_BSL_PAIR&& bslRange);

NOTE

This function is defined as an Algorithm Function Object (AFO).