mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-02-02 08:29:45 +00:00
Add missing register16_t operator (>)
This commit is contained in:
parent
4efa66c44e
commit
bde2900017
@ -79,9 +79,15 @@ namespace EightBit {
|
||||
return lhs.word <=> rhs.word;
|
||||
}
|
||||
#else
|
||||
|
||||
[[nodiscard]] constexpr inline auto operator!=(const register16_t lhs, const register16_t rhs) noexcept {
|
||||
return lhs.word != rhs.word;
|
||||
}
|
||||
|
||||
[[nodiscard]] constexpr inline auto operator>(const register16_t lhs, const register16_t rhs) noexcept {
|
||||
return lhs.word > rhs.word;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
[[nodiscard]] constexpr inline auto operator+(register16_t lhs, const register16_t rhs) noexcept {
|
||||
|
Loading…
x
Reference in New Issue
Block a user