This struct provides a namespace for bsl::pair utilities.

Synopsis

Declared in <bdlb_pairutil.h>

struct PairUtil;

Description

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.

Static Member Functions

Name

Description

adaptForRanges

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

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