aboutsummaryrefslogtreecommitdiff
path: root/share/misc/operator
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-04-08 20:20:19 +0000
committerEd Schouten <ed@FreeBSD.org>2009-04-08 20:20:19 +0000
commit11c39fb4a3fb60303b47021b590f6c8d7eaa1191 (patch)
tree28cc21dd0678c48fb669bfde7393019496eb8239 /share/misc/operator
parent2c97d32a81446ad703f924880be85b14f4719047 (diff)
downloadsrc-11c39fb4a3fb60303b47021b590f6c8d7eaa1191.tar.gz
src-11c39fb4a3fb60303b47021b590f6c8d7eaa1191.zip
Add C++ operators to operator(7) manual page.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
Notes
Notes: svn path=/head/; revision=190855
Diffstat (limited to 'share/misc/operator')
-rw-r--r--share/misc/operator36
1 files changed, 19 insertions, 17 deletions
diff --git a/share/misc/operator b/share/misc/operator
index b293f31da9b2..758737ba14f0 100644
--- a/share/misc/operator
+++ b/share/misc/operator
@@ -1,19 +1,21 @@
-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
-= += -= *= /= %= <<= >>= &= ^= |= right to left
-, left to right
+Operator Associativity
+-------------------------------------------------------------
+() [] -> . left to right
+! ~ ++ -- - (type) * & sizeof new delete 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
+|| left to right
+?: right to left
+= += -= *= /= %= <<= >>= &= ^= |= throw right to left
+?: (C++, third operand) right to left
+, left to right
$FreeBSD$