Compares two nullopt_t objects for equality.
Synopsis
Declared in <beman/optional/optional.hpp>
constexpr
bool
operator==(
nullopt_t lhs,
nullopt_t rhs) noexcept;
|
Note
|
This function is a hidden friend of nullopt_t, declared only inside that class: it can be found only through argument-dependent lookup. |
Return Value
Always true, since all nullopt_t objects compare equal.
Parameters
Name |
Description |
lhs |
The left‐hand |
rhs |
The right‐hand |
Created with MrDocs