--- Comment #3 from waldemar dot rachwal at gmail dot com 2007-06-06 09:44
---
[3 weeks went by, but i've not forgotten about my bug report ;]
as about the last comment (#2) I can't fully agree. -Winit-self works, but only
in case of builtin scalar data types. For objects th
###
// int n = n + 1;
n ==> 1628302664
// double r = r + 1000.0;
r ==> 1000
// X obj;
this ==> 0x22ccb0
// X obj(obj);
&rhs ++> 0x22cca0 <** UNEXPECTED
this oo> 0x22cca0
// X obj(obj);
&rhs ++> 0x22cc90 <** UNEXPECTED
this oo
###
// int n = n + 1;
n ==> 1628302664
// double r = r + 1000.0;
r ==> 1000
// X obj;
this ==> 0x22ccb0
// X obj(obj);
&rhs ++> 0x22cca0 <** UNEXPECTED
this oo> 0x22cca0
// X obj(obj);
&rhs ++> 0x22cc90 <** UNEXPECTED
this oo