summaryrefslogtreecommitdiffstats
path: root/share/misc/operator
diff options
context:
space:
mode:
Diffstat (limited to 'share/misc/operator')
-rw-r--r--share/misc/operator17
1 files changed, 17 insertions, 0 deletions
diff --git a/share/misc/operator b/share/misc/operator
new file mode 100644
index 0000000..003c436
--- /dev/null
+++ b/share/misc/operator
@@ -0,0 +1,17 @@
+Operator Associativity
+-----------------------------------------------
+() [] -> . left to right
+! ~ ++ -- - (type) * & sizeof right to left
+* / % left to right
++ - left to right
+<< >> left to right
+< <= > >= left to right
+== != left to right
+& left to right
+^ left to right
+| left to right
+&& left to right
+|| left to right
+?: right to left
+= += -= etc. right to left
+, left to right
OpenPOWER on IntegriCloud