[#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&colon;&colon;pair`&hyphen;like containers more convenient or adapting such containers to work with standard library utilities&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;pairutil&period;h&gt;`

[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&colon;&colon;pairs`, translate it to a range of `std&colon;&colon;pair`s, where each element of the resulting `std&colon;&colon;pair`s is a reference to corresponding member of the corresponding element of the bsl range&period;
| xref:BloombergLP/bdlb/PairUtil/stdPairRefAdaptor-09.adoc[`stdPairRefAdaptor`] 
| `stdPairRefAdaptor` overloads
| xref:BloombergLP/bdlb/PairUtil/tie.adoc[`tie`] 
| Return a `bsl&colon;&colon;pair` object holding a reference to the specified `first` and a reference to the specified `second`, respectively&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
