[#BloombergLP-bslma-ManagedPtr_PairProxy]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::ManagedPtr&lowbar;PairProxy
:relfileprefix: ../../
:mrdocs:

This class is a simple aggregate that may be used to construct a `bsl&colon;&colon;pair` object&period; It will be a POD if the (template parameter) `ASSOCIATED&lowbar;TYPE` is a POD&period; Note that the names of the data members must exactly match those of `bsl&colon;&colon;pair` to support users simply acting on the result of a function call from which a pair proxy is returned, and not assigning that result to a `bsl&colon;&colon;pair` first&period;

== Synopsis

Declared in `&lt;bslma&lowbar;managedptr&lowbar;pairproxy&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;
    class POINTER&lowbar;TYPE,
    class ASSOCIATED&lowbar;TYPE&gt;
struct ManagedPtr&lowbar;PairProxy;
----

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslma/ManagedPtr_PairProxy/first.adoc[`first`] 
| Address of the managed pointer&period;
| xref:BloombergLP/bslma/ManagedPtr_PairProxy/second.adoc[`second`] 
| Associated object paired with the managed pointer in `first`&period;
|===



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