Compares an optional against nullopt.
Declared in <beman/optional/optional.hpp>
template<class T>
constexpr
bool
operator==(
optional<T> const& lhs,
nullopt_t rhs) noexcept;
true if lhs is disengaged.
| Name | Description |
|---|---|
| lhs | The optional to test. |
| rhs | The nullopt operand. |