xref: /freebsd/share/misc/operator (revision 05248206)
1afe61c15SRodney W. GrimesOperator					Associativity
211c39fb4SEd Schouten-------------------------------------------------------------
3afe61c15SRodney W. Grimes() [] -> .					left to right
411c39fb4SEd Schouten! ~ ++ -- - (type) * & sizeof new delete	right to left
511c39fb4SEd Schouten->* .*						left to right
6afe61c15SRodney W. Grimes* / %						left to right
7afe61c15SRodney W. Grimes+ -						left to right
8afe61c15SRodney W. Grimes<< >>						left to right
9afe61c15SRodney W. Grimes< <= > >=					left to right
10afe61c15SRodney W. Grimes== !=						left to right
11afe61c15SRodney W. Grimes&						left to right
12afe61c15SRodney W. Grimes^						left to right
13afe61c15SRodney W. Grimes|						left to right
14afe61c15SRodney W. Grimes&&						left to right
15afe61c15SRodney W. Grimes||						left to right
16afe61c15SRodney W. Grimes?:						right to left
1711c39fb4SEd Schouten= += -= *= /= %= <<= >>= &= ^= |= throw		right to left
1811c39fb4SEd Schouten?: (C++, third operand)				right to left
19afe61c15SRodney W. Grimes,						left to right
20