[#BloombergLP-bslstl-Pair_GetImpUtil-0d-getPairElement-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Pair_GetImpUtil-0d.adoc[Pair_GetImpUtil<0, T1, T2>]::getPairElement :relfileprefix: ../../../ :mrdocs: `getPairElement` overloads == Synopses Declared in `<bslstl_pair.h>` Return a reference providing modifiable access to the first element of the specified `p`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static T1& xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-08.adoc[getPairElement](xref:bsl/pair-0b.adoc[bsl::pair<T1, T2>]& p) noexcept; ---- [.small]#xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-08.adoc[_» more..._]# Return a reference providing non‐modifiable access to the first element of the specified `p`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static T1 const& xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-0e.adoc[getPairElement](xref:bsl/pair-0b.adoc[bsl::pair<T1, T2>] const& p) noexcept; ---- [.small]#xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-0e.adoc[_» more..._]# Return a rvalue reference providing modifiable access to the first element of the specified `p` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static T1&& xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-05.adoc[getPairElement](xref:bsl/pair-0b.adoc[bsl::pair<T1, T2>]&& p) noexcept; ---- [.small]#xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-05.adoc[_» more..._]# Return a rvalue reference providing non‐modifiable access to the first element of the specified `p` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static T1 const&& xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-0a.adoc[getPairElement](xref:bsl/pair-0b.adoc[bsl::pair<T1, T2>] const&& p) noexcept; ---- [.small]#xref:BloombergLP/bslstl/Pair_GetImpUtil-0d/getPairElement-0a.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#