Converts the optional to a boolean indicating whether it has a value.

Synopsis

Declared in <beman/optional/optional.hpp>

constexpr
explicit
operator bool() const noexcept;

Return Value

bool

Created with MrDocs