mrdocs::operator==
Compares two Optional values for equality. Returns true if both are engaged and their contained values are equal, or both are disengaged.
Synopsis
Declared in <mrdocs/ADT/Optional.hpp>
template<
typename T,
typename U>
constexpr
/* implementation-defined */
operator==(
Optional<T> const& lhs,
Optional<U> const& rhs);
Return Value
true if both optionals are engaged and equal, or both are disengaged; otherwise, false.
Parameters
Name |
Description |
lhs |
The left operand |
rhs |
The right operand |
Created with MrDocs