[#BloombergLP-bslstl-Optional_Base-05-2constructor-0bf2]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_Base-05.adoc[Optional&lowbar;Base]::Optional&lowbar;Base
:relfileprefix: ../../../
:mrdocs:

Create a disengaged `Optional&lowbar;Base` object if the specified `original` object is disengaged, and an `Optional&lowbar;Base` object with the value of `original&period;value()` converted to `t&lowbar;TYPE` otherwise&period; Use the currently installed default allocator to supply memory&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ANY&lowbar;TYPE&gt;
Optional&lowbar;Base(
    xref:BloombergLP/bslstl/Optional_CopyConstructFromStdOptional.adoc[BloombergLP::bslstl::Optional&lowbar;CopyConstructFromStdOptional],
    std::optional&lt;t&lowbar;ANY&lowbar;TYPE&gt; const& original);
----


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