"Terje Sletteb�" wrote in message news:iPDGa.11691$KF1.273533@amstwist00... > Anyway, this may be a QoI issue. A compiler could warn if an > uninitialised variable is read from, and they typically do. > > It is not a QoI issue. The above was a trivial case to counter a previous poster. The compiler is NOT able to tell in general (for example, POD elements in a dynamically allocated class). It's an egregious violation of the C++ object model to just forget to perform default initialization. [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ]