[#BloombergLP-bslstl-Optional_Base-05-dereferenceRaw-04a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_Base-05.adoc[Optional&lowbar;Base]::dereferenceRaw
:relfileprefix: ../../../
:mrdocs:

Return a reference to the contained value without checking engagement&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;optional&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
t&lowbar;TYPE const&
dereferenceRaw() const;
----

== Description

Return a reference providing non&hyphen;modifiable access to the underlying `t&lowbar;TYPE` object&period; The behavior is undefined if the `Optional&lowbar;Base` object is disengaged&period; Note that this function is only intended to be called by `bdlb&colon;&colon;NullableValue&colon;&colon;value` during transition of its implementation to use &apos;bsl&colon;&colon;Optional&lowbar;Base&period; Note that ref&hyphen;qualified versions of `value()` are not provided because `NullableValue` does not require them&period;

== Return Value

reference providing non&hyphen;modifiable access to the contained value


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