Is this a operator overloading bug?

mike vertex at gmx.at
Thu Jan 11 06:33:21 PST 2007


Am 11.01.2007, 15:23 Uhr, schrieb Frank Benoit (keinfarbton)  
<benoit at tionex.removethispart.de>:

>
>> creates a new, uninitialized Vector3 and returns it. This should work:
>
> according to the spec, structs should be default initialized. Is this a  
> bug?

No, since floats are initialized to NaN, at least AFAIR.

-mike

-- 
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list