diff options
author | ed <ed@FreeBSD.org> | 2009-04-08 20:20:19 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-04-08 20:20:19 +0000 |
commit | da6f64f1ca2e012e726eff8495aec3861030241d (patch) | |
tree | 28cc21dd0678c48fb669bfde7393019496eb8239 /share/misc/operator | |
parent | 93a9ed75b449eec73423063b8873553e59fc5a92 (diff) | |
download | FreeBSD-src-da6f64f1ca2e012e726eff8495aec3861030241d.zip FreeBSD-src-da6f64f1ca2e012e726eff8495aec3861030241d.tar.gz |
Add C++ operators to operator(7) manual page.
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>
Diffstat (limited to 'share/misc/operator')
-rw-r--r-- | share/misc/operator | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/share/misc/operator b/share/misc/operator index b293f31..758737b 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$ |