Is this a operator overloading bug?

David Medlock noone at nowhere.com
Thu Jan 11 06:26:02 PST 2007


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

The default initialization for float/double/real is nan.
Look under 'types'.

-DavidM



More information about the Digitalmars-d mailing list