BloombergLP::bslstl::Optional_Base::has_value

Return false if this object is disengaged, and true otherwise.

Synopsis

Declared in <bslstl_optional.h>

bool
has_value() const noexcept;