Returns whether or not the optional has a value.

Synopsis

Declared in <beman/optional/optional.hpp>

constexpr
bool
has_value() const noexcept;

Description

Returns whether or not the optional has a value

Return Value

bool

Created with MrDocs