[#util-Expected-0b-2constructor-0e]
= xref:util.adoc[util]::xref:util/Expected-0b.adoc[Expected]::Expected
:relfileprefix: ../../
:mrdocs:

Construct holding an error, from a util&colon;&colon;Unexpected&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *u*
| The unexpected error to store&period;
|===


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