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