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

Move&hyphen;construct an aliasing managed pointer from the specified `alias` and `ptr`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ALIASED&lowbar;TYPE&gt;
ManagedPtr(
    xref:BloombergLP/bslma/ManagedPtr-0fa.adoc[ManagedPtr&lt;ALIASED&lowbar;TYPE&gt;]&& alias,
    TARGET&lowbar;TYPE* ptr);
----


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