mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-06-01 07:41:51 +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…
Reference in New Issue
Block a user