www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: T.init for static arrays?

 This assert should never fail:
 T x;
 assert(x is T.init);
 (Right now it fails for floats because of NaN - can we fix this too? 
 "is" should always do byte comparisons.)

I have added it as enhancement request because I think it's a good idea: http://d.puremagic.com/issues/show_bug.cgi?id=3981 Bye, bearophile
Mar 17 2010