[#beman-optional-optional-06-value] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-06.adoc[optional<T&>]::value :relfileprefix: ../../../ :mrdocs: Returns the stored value if there is one, otherwise throws == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr T& value() const; ---- == Return Value T& [.small]#Created with https://www.mrdocs.com[MrDocs]#