[#BloombergLP-bslstl-Optional_DataImp-value-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_DataImp.adoc[Optional_DataImp]::value :relfileprefix: ../../../ :mrdocs: Return the `value_type` object in `d_buffer` with const qualification adjusted to match that of `t_TYPE`. The behavior is undefined unless `this‐>hasValue() == true`. == Synopsis Declared in `<bslstl_optional.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- t_TYPE& value() &; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#