[#BloombergLP-bslstl-Optional_Base-05-operator_star-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_Base-05.adoc[Optional_Base]::operator* :relfileprefix: ../../../ :mrdocs: Dereference operators == Synopses Declared in `<bslstl_optional.h>` Return a reference providing modifiable access to the underlying `t_TYPE` object. The behavior is undefined if the `Optional_Base` object is disengaged. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- t_TYPE& xref:BloombergLP/bslstl/Optional_Base-05/operator_star-07.adoc[operator*]() &; ---- [.small]#xref:BloombergLP/bslstl/Optional_Base-05/operator_star-07.adoc[_» more..._]# Return an rvalue reference to the contained value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- t_TYPE&& xref:BloombergLP/bslstl/Optional_Base-05/operator_star-047.adoc[operator*]() &&; ---- [.small]#xref:BloombergLP/bslstl/Optional_Base-05/operator_star-047.adoc[_» more..._]# Return a reference providing non‐modifiable access to the underlying `t_TYPE` object. The behavior is undefined if the `Optional_Base` object is disengaged. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- t_TYPE const& xref:BloombergLP/bslstl/Optional_Base-05/operator_star-08.adoc[operator*]() const &; ---- [.small]#xref:BloombergLP/bslstl/Optional_Base-05/operator_star-08.adoc[_» more..._]# Same as the `operator*` overload taking `const &`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- t_TYPE const&& xref:BloombergLP/bslstl/Optional_Base-05/operator_star-046.adoc[operator*]() const &&; ---- [.small]#xref:BloombergLP/bslstl/Optional_Base-05/operator_star-046.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#