BloombergLP::bdlb::PairUtil

This struct provides a namespace for the functions that make working with bsl::pair-like containers more convenient or adapting such containers to work with standard library utilities.

Synopsis

Declared in <bdlb_pairutil.h>

struct PairUtil;

Static Member Functions

NameDescription
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.
stdPairRefAdaptor stdPairRefAdaptor overloads
tie Return a bsl::pair object holding a reference to the specified first and a reference to the specified second, respectively.