[#BloombergLP-bslstl-SharedPtr_RepProctor-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/SharedPtr_RepProctor.adoc[SharedPtr&lowbar;RepProctor]::SharedPtr&lowbar;RepProctor
:relfileprefix: ../../../
:mrdocs:

Create a `SharedPtr&lowbar;RepProctor` that conditionally manages the specified `rep` (if non&hyphen;zero)&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;sharedptr&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
SharedPtr&lowbar;RepProctor(xref:BloombergLP/bslma/SharedPtrRep.adoc[bslma::SharedPtrRep]* rep) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *rep*
| shared&hyphen;pointer representation object
|===


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