This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: The order of calling functions and << <<
- To: Carlo Wood <carlo at runaway dot xs4all dot nl>
- Subject: Re: The order of calling functions and << <<
- From: "Matthias Urlichs" <smurf at noris dot de>
- Date: Mon, 7 Dec 1998 18:19:29 +0100
- Cc: "egcs at cygnus dot com" <egcs at cygnus dot com>
- References: <199812071628.RAA00547@jolan.ppro>
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