BloombergLP::bdlb::PairUtil

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

NameDescription
adaptForRanges Translate a range of bsl::pairs to a range of std::pairs.
stdPairRefAdaptor stdPairRefAdaptor overloads
tie Return a bsl::pair object holding a reference to the specified first and a reference to the specified second, respectively.