Tests whether an Optional is empty.
Synopsis
Declared in <folly/Optional.h>
template<class V>
constexpr
bool
operator==(
Optional<V> const& a,
None none) noexcept;
Return Value
true if a has no value.
Parameters
Name |
Description |
a |
The Optional operand. |
none |
The None tag. |
Created with MrDocs