[#bsl-optional-072-2constructor-0f0]
= xref:bsl.adoc[bsl]::xref:bsl/optional-072.adoc[optional]::optional
:relfileprefix: ../../
:mrdocs:

Explicitly create an `optional` by moving from the specified `std&colon;&colon;optional` `original`&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;
constexpr
explicit
optional(std::optional&lt;t&lowbar;ANY&lowbar;TYPE&gt;&& original);
----


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