c++/5724: Evaluation order of parameters for multiple operator<< calls

nathan@gcc.gnu.org nathan@gcc.gnu.org
Mon Feb 18 14:31:00 GMT 2002


Synopsis: Evaluation order of parameters for multiple operator<< calls

State-Changed-From-To: open->closed
State-Changed-By: nathan
State-Changed-When: Mon Feb 18 13:47:14 2002
State-Changed-Why:
    no, there is no sequence point there. The code is
    equivalent of
    	output (output (cout, f (a)), f (b));
    where 'output' is the operator<< function. you'll see
    that 'f (b)' can be called before or after
    'output (cout, f (a))'

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5724



More information about the Gcc-bugs mailing list