Shouldn't bool be initialized to 0xFF ?

Anders F Björklund afb at algonet.se
Tue Aug 15 08:31:30 PDT 2006


Lionello Lunesu wrote:

> I've been following those "why's char init'ed to -1?" / "why's float 
> init'ed to NaN?" thread, and I'd have to agree with Walter: a crazy 
> initialization sure makes it obvious where the problem lies.

I'm not sure that "more crazy .init values" is the cure to char/float...

--anders



More information about the Digitalmars-d mailing list