[#util-Expected-0b-value-05] = xref:util.adoc[util]::xref:util/Expected-0b.adoc[Expected]::value :relfileprefix: ../../ :mrdocs: Access the result value, throwing if an error is held. == Synopses Declared in `<util/expected.h>` Access the result value, throwing if an error is held. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr T const& xref:util/Expected-0b/value-0a.adoc[value]() const &; ---- [.small]#xref:util/Expected-0b/value-0a.adoc[_» more..._]# Access the result value, throwing if an error is held. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr T& xref:util/Expected-0b/value-0f.adoc[value]() &; ---- [.small]#xref:util/Expected-0b/value-0f.adoc[_» more..._]# Access the result value, throwing if an error is held. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr T&& xref:util/Expected-0b/value-00.adoc[value]() &&; ---- [.small]#xref:util/Expected-0b/value-00.adoc[_» more..._]# == Return Value * A const reference to the stored result value. * A reference to the stored result value. * An rvalue reference to the stored result value. [.small]#Created with https://www.mrdocs.com[MrDocs]#