BloombergLP::bslstl::Optional_Base::value

Return a reference providing modifiable access to the underlying t_TYPE object if true == has_value() and throw bsl::bad_optional_access otherwise.

Synopsis

Declared in <bslstl_optional.h>

t_TYPE&
value() &;