Return the address of the contained value, or value if null.
Declared in <bdlb_nullablevalue.h>
TYPE const*
valueOr(TYPE const* value) const;
Return an address providing non-modifiable access to the underlying object of a (template parameter) TYPE if this object is non-null, and the specified value otherwise. DEPRECATED: Use addressOr instead.
address of the underlying object if non-null, and value otherwise
| Name | Description |
|---|---|
| value | fallback address returned when this object is null |