[#beman-optional-optional-03-operator_star-03]
= xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::operator&ast;
:relfileprefix: ../../../
:mrdocs:

Returns a reference to the stored value&period;

== Synopses

Declared in `&lt;beman&sol;optional&sol;optional&period;hpp&gt;`

Returns a reference to the stored value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
T&
xref:beman/optional/optional-03/operator_star-092.adoc[operator&ast;]() &amp;;
----

[.small]#xref:beman/optional/optional-03/operator_star-092.adoc[_» more&period;&period;&period;_]#

Returns a reference to the stored value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
T const&
xref:beman/optional/optional-03/operator_star-06.adoc[operator&ast;]() const &amp;;
----

[.small]#xref:beman/optional/optional-03/operator_star-06.adoc[_» more&period;&period;&period;_]#

Returns a reference to the stored value&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
T&&
xref:beman/optional/optional-03/operator_star-091.adoc[operator&ast;]() &amp;&amp;;
----

[.small]#xref:beman/optional/optional-03/operator_star-091.adoc[_» more&period;&period;&period;_]#

== Return Value

* T&amp;
* const T&amp;
* T&amp;&amp;


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