valueOr overloads
Declared in <bdlb_nullablevalue.h>
Return the contained value, or value if this object is null.
TYPE
valueOr(TYPE const& value) const;
» more...
Return the address of the contained value, or value if null.
TYPE const*
valueOr(TYPE const* value) const;
» more...
value otherwisevalue otherwise| Name | Description |
|---|---|
| value | fallback value returned when this object is null |