[#util-Expected-05-2constructor-06]
= xref:util.adoc[util]::xref:util/Expected-05.adoc[Expected&lt;void, E&gt;]::Expected
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;util&sol;expected&period;h&gt;`

Default constructor


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
xref:util/Expected-05/2constructor-09.adoc[Expected]();
----

[.small]#xref:util/Expected-05/2constructor-09.adoc[_» more&period;&period;&period;_]#

Construct from `Unexpected`


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class Err&gt;
constexpr
xref:util/Expected-05/2constructor-02.adoc[Expected](xref:util/Unexpected.adoc[Unexpected&lt;Err&gt;] u);
----

[.small]#xref:util/Expected-05/2constructor-02.adoc[_» more&period;&period;&period;_]#


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