[#util-Unexpected-2constructor]
= xref:util.adoc[util]::xref:util/Unexpected.adoc[Unexpected]::Unexpected
:relfileprefix: ../../
:mrdocs:

Construct from an error value&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
explicit
Unexpected(E e);
----

== Parameters

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


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