This is the mail archive of the gcc@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]

Re: The order of calling functions and << <<


Hi,

Carlo Wood:
> Is this what was intended?  What does the ANSI/ISO C++ standard
> say about this? 

It says that the order of evaluation within an expression (excluding the
comma operator, of course) is undefined.

If you need it to be otherwise, write more than one statement.

-- 
Matthias Urlichs  |  noris network GmbH   |   smurf@noris.de  |  ICQ: 20193661


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