Group: sci.physics · Group Profile · Search for Effecter in sci.physics
Author: Cwatters
Date: Jun 8, 2010 01:50
On Jun 6, 10:44 pm, "Johannes Schaub (litb)" <schaub-johan...@web.de> wrote: Hello all. Am i reading right that this is undefined behavior in C++0x, but well defined in C++03? volatile int a = 0; int b = a + a; Two side-effects on "a" are unsequenced with respect to each other. But in C++03, this doesn't seem to yield undefined behavior because the side effect isn't a
|