[#util-Result-value-0ad]
= xref:util.adoc[util]::xref:util/Result.adoc[Result]::value
:relfileprefix: ../../
:mrdocs:

Accesses the held value&semi; asserts that the result holds a value&period;

== Synopses

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

Accesses the held value&semi; asserts that the result holds a value&period;


[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&period;&period;&period;_]#

Accesses the held value&semi; asserts that the result holds a value&period;


[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&period;&period;&period;_]#

== Return Value

* a const reference to the stored value
* a mutable reference to the stored value


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