[#beman-optional-optional-03-2constructor-06e]
= xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::optional
:relfileprefix: ../../../
:mrdocs:

Constructs the value from `rhs` if it has one&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class U&gt;
constexpr
optional(xref:beman/optional/optional-03.adoc[optional&lt;U&gt;]&& rhs)
requires (detail&colon;&colon;enable&lowbar;from&lowbar;other&lt;T, U, U &amp;&amp;&gt;);
----

== Description

Converting move constructor&period;


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