Return whether the target does not contain a value.

Synopsis

Declared in <bdlb_nullablevalueref.h>

bool
isNull() const noexcept;

Description

Return false if the target contains a value, and true otherwise. Note that this accessor is provided purely for compatibility with NullableValue and NullableAllocatedValue, and its use is discouraged in favor of has_value.

Return Value

false if the target contains a value, and true otherwise

Created with MrDocs