[#beman-optional-optional-06-2constructor-00]
= xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-06.adoc[optional&lt;T&&gt;]::optional
:relfileprefix: ../../../
:mrdocs:

Constructs an empty optional&period;

== Synopsis

Declared in `&lt;beman&sol;optional&sol;optional&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
optional(xref:beman/optional/nullopt_t.adoc[nullopt&lowbar;t] value) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The object to construct from
|===


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