BloombergLP::bslstl::Optional_Base::dereferenceRaw

Return a reference providing modifiable access to the underlying t_TYPE object. The behavior is undefined if the Optional_Base object is disengaged. Note that this function is only intended to be called by bdlb::NullableValue::value during transition of its implementation to use 'bsl::Optional_Base. Note that ref-qualified versions of value() are not provided because NullableValue does not require them.

Synopsis

Declared in <bslstl_optional.h>

t_TYPE&
dereferenceRaw();