[#util-Expected-05-2constructor-02] = xref:util.adoc[util]::xref:util/Expected-05.adoc[Expected<void, E>]::Expected :relfileprefix: ../../ :mrdocs: Construct from `Unexpected` == Synopsis Declared in `<util/expected.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class Err> constexpr Expected(xref:util/Unexpected.adoc[Unexpected<Err>] u); ---- == Parameters [cols="1,4"] |=== | Name| Description | *u* | The object to construct from |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#