mrdocs::operator>
Checks if the left Optional is greater than the right Optional. Returns true if the left is engaged and either the right is disengaged or its value is greater.
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 lhs is greater than rhs according to the described rules; otherwise, false.
Parameters
Name |
Description |
lhs |
The left operand |
rhs |
The right operand |
Created with MrDocs