Date: Sun, 31 May 2009 18:06:46 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org Subject: svn commit: r193181 - in stable/6/share/man: . man4 man5 man7 man9 Message-ID: <200905311806.n4VI6knl050979@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sun May 31 18:06:46 2009 New Revision: 193181 URL: http://svn.freebsd.org/changeset/base/193181 Log: MFC r190855: Add C++ operators to operator(7) manual page. Submitted by: Christoph Mallon <christoph.mallon@gmx.de> Modified: stable/6/share/man/ (props changed) stable/6/share/man/man4/ (props changed) stable/6/share/man/man4/xl.4 (props changed) stable/6/share/man/man5/ (props changed) stable/6/share/man/man7/ (props changed) stable/6/share/man/man7/operator.7 stable/6/share/man/man7/ports.7 (props changed) stable/6/share/man/man9/ (props changed) Modified: stable/6/share/man/man7/operator.7 ============================================================================== --- stable/6/share/man/man7/operator.7 Sun May 31 18:06:12 2009 (r193180) +++ stable/6/share/man/man7/operator.7 Sun May 31 18:06:46 2009 (r193181) @@ -32,19 +32,20 @@ .\" @(#)operator.7 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd January 22, 2003 +.Dd April 8, 2009 .Dt OPERATOR 7 .Os .Sh NAME .Nm operator -.Nd C operator precedence and order of evaluation +.Nd C and C++ operator precedence and order of evaluation .Sh DESCRIPTION .Bd -ragged -offset indent -compact -.Bl -column "= += -= *= /= %= <<= >>= &= ^= |=" +.Bl -column "! ~ ++ -- - (type) * & sizeof new delete" .It Sy "Operator Associativity" .It "-------- -------------" .It "() [] -> . left to right" -.It "! ~ ++ -- - (type) * & sizeof right to left" +.It "! ~ ++ -- - (type) * & sizeof new delete right to left" +.It "->* .* left to right .It "* / % left to right" .It "+ - left to right" .It "<< >> left to right" @@ -56,7 +57,8 @@ .It "&& left to right" .It "|| left to right" .It "?: right to left" -.It "= += -= *= /= %= <<= >>= &= ^= |= right to left" +.It "= += -= *= /= %= <<= >>= &= ^= |= throw right to left" +.It "?: (C++, third operand) right to left" .It ", left to right" .El .Ed
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905311806.n4VI6knl050979>