![]() |
Arene Base
Fundamental Utilities For Safety Critical C++
|
Helper class that can be inherited from by a class to define the >, <=, >=, == and != operators in terms of a < operator that the derived class provides. More...

Friends | |
| ARENE_NODISCARD friend constexpr auto | operator== (Derived const &lhs, Other const &rhs) noexcept -> bool |
Greater-than-or-equal comparison operator for instances of LhsType and RhsType. | |
Helper class that can be inherited from by a class to define the >, <=, >=, == and != operators in terms of a < operator that the derived class provides.
The derived class is required to provide:
This class defines the following operators in terms of those:
For example:
|
friend |
Greater-than-or-equal comparison operator for instances of LhsType and RhsType.
| lhs | The first object being compared |
| rhs | The second object being compared |
True if lhs is greater than or equal to rhs, false otherwise.