Return a reference to the contained object.

Synopsis

Declared in <bdlb_nullablevalue.h>

TYPE const&
value() const;

Description

Return a reference providing non‐modifiable access to the underlying object of a (template parameter) TYPE. The behavior is undefined unless this object is non‐null.

Return Value

a reference providing non‐modifiable access to the underlying TYPE object

Created with MrDocs