This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]