BloombergLP::bslstl::Optional_Base<t_TYPE, false>::dereferenceRaw

dereferenceRaw overloads

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. 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.

t_TYPE&
dereferenceRaw();
» 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. 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.

t_TYPE const&
dereferenceRaw() const;
» more...