[#BloombergLP-bslma-ManagedPtr-0fa-2constructor-012]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslma.adoc[bslma]::xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[ManagedPtr]::ManagedPtr
:relfileprefix: ../../../
:mrdocs:

Create an empty managed pointer&period; Note that this constructor is necessary to match null&hyphen;pointer literal arguments, in order to break ambiguities and provide valid type deduction with the other constructor templates in this class&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
ManagedPtr(
    xref:bsl/nullptr_t-08.adoc[bsl::nullptr&lowbar;t],
    xref:bsl/nullptr_t-08.adoc[bsl::nullptr&lowbar;t]);
----


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