Packages
Packages copied to clipboard
[C++] Shift/stream operators considered arithmetic operators
What happened?
In C++, the shift operators >>, <<, >>=, and <<= should not be put in the same scope as basic arithmetic operators > and <. Instead, a new scope such as keyword.operator.shift.c should be introduced.
Example:
I think we have a keyword.operator.bitwise already.
the shift operators >>, <<, >>=, and <<= should not be put in the same scope as basic arithmetic operators > and <
> and < are not scoped as arithmetic operators however.