BloombergLP::bdlb::VariantImp::isUnset

Return true if this variant is currently unset, and false otherwise. 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.

Synopsis

Declared in <bdlb_variant.h>

bool
isUnset() const;