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

Name

Description

adaptForRanges

Given a range of bsl::pairs, translate it to a range of `std::pair`s, where each element of the resulting `std::pair`s 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.

Created with MrDocs