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