appending newly initialized struct to array

SomeDude lovelydear at mailmetrash.com
Wed Apr 18 11:50:10 PDT 2012


On Wednesday, 18 April 2012 at 18:18:44 UTC, Ali Çehreli wrote:
> On 04/18/2012 10:13 AM, Jonathan M Davis wrote:
> >
> > It's by design. An enhancement request is a waste of time.
> Comparisons with
> > NaN _always_ return false regardless of what they're compared
> against - even
> > NaN. It's not going to change.
> >
> > - Jonathan M Davis
>
> It shouldn't be a problem to detect comparisons against literal 
> .nan values. The compiler can warn with "comparison is always 
> false".
>
> Ali

Now THAT makes sense.


More information about the Digitalmars-d-learn mailing list