Return whether this variant currently holds no value.

Synopsis

Declared in <bdlb_variant.h>

bool
isUnset() const;

Description

An unset variant does not hold a value or type. Note that this method should be preferred over checking the type index of the variant.

Return Value

true if this variant currently holds no value, and false otherwise

Created with MrDocs