[#BloombergLP-bdlb-PairUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::PairUtil :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct PairUtil; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/PairUtil/adaptForRanges.adoc[`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. | xref:BloombergLP/bdlb/PairUtil/stdPairRefAdaptor-09.adoc[`stdPairRefAdaptor`] | `stdPairRefAdaptor` overloads | xref:BloombergLP/bdlb/PairUtil/tie.adoc[`tie`] | Return a `bsl::pair` object holding a reference to the specified `first` and a reference to the specified `second`, respectively. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#