Re: [ROOT] zero pointers on NT

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Jan 25 2001 - 12:23:13 MET


IIRC only globals and class static variables are initialized to 0.
All others need to be initialized.

-- Fons


Anton Fokin wrote:
> 
> Hi rooters,
> 
> I am a bit confused with pointer initialization on win32 and VC6.0.
> 
> C++ standard says it guarantees that you get zero pointer when you define a
> pointer. It doesn't seem to be true uder VC. Any commments?
> 
> Regards,
> Anton

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:34 MET