[#util-Result-value-0ad] = xref:util.adoc[util]::xref:util/Result.adoc[Result]::value :relfileprefix: ../../ :mrdocs: Accesses the held value; asserts that the result holds a value. == Synopses Declared in `<util/result.h>` Accesses the held value; asserts that the result holds a value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:util/Result.adoc[T] const& xref:util/Result/value-0a7.adoc[value]() const; ---- [.small]#xref:util/Result/value-0a7.adoc[_» more..._]# Accesses the held value; asserts that the result holds a value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:util/Result.adoc[T]& xref:util/Result/value-06.adoc[value](); ---- [.small]#xref:util/Result/value-06.adoc[_» more..._]# == Return Value * a const reference to the stored value * a mutable reference to the stored value [.small]#Created with https://www.mrdocs.com[MrDocs]#