Open mathstuf opened 10 years ago
By making the right operator higher precedence than the left one, right associativity can be made. [Parentheses suck, obviously. :P ]
Hmm, I’m not convinced that right associativity would in general be desirable. Most of C++’ operators (except assignment) are left associative, this should generally be preserved in order to avoid confusion.
By making the right operator higher precedence than the left one, right associativity can be made. [Parentheses suck, obviously. :P ]