Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right associativity #1

Open
mathstuf opened this issue Aug 28, 2013 · 1 comment
Open

Right associativity #1

mathstuf opened this issue Aug 28, 2013 · 1 comment

Comments

@mathstuf
Copy link

By making the right operator higher precedence than the left one, right associativity can be made. [Parentheses suck, obviously. :P ]

@klmr
Copy link
Owner

klmr commented Aug 28, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants