Comparison operators that provide platform dependant ordering and have O(1) complexity; are Async-Handler-Safe.
| 38 | |
| 39 | /// Comparison operators that provide platform dependant ordering and have O(1) complexity; are Async-Handler-Safe. |
| 40 | constexpr inline bool operator< (const frame& lhs, const frame& rhs) noexcept { return lhs.address() < rhs.address(); } |
| 41 | constexpr inline bool operator> (const frame& lhs, const frame& rhs) noexcept { return rhs < lhs; } |
| 42 | constexpr inline bool operator<=(const frame& lhs, const frame& rhs) noexcept { return !(lhs > rhs); } |
| 43 | constexpr inline bool operator>=(const frame& lhs, const frame& rhs) noexcept { return !(lhs < rhs); } |