Upgrading a codebase from 2.065 to 2.066

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Mon Jul 7 23:00:43 PDT 2014


On 2 July 2014 23:41, David Nadlinger via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> On Wednesday, 2 July 2014 at 22:34:36 UTC, Brian Schott wrote:
>>
>> 4. isNaN is now a template.
>
>
> It should really be a normal function with float/double/real overloads
> instead of a template. That being said, OTOH an uint argument would still
> lead to an ambiguity error.
>


I had thought about this initially when I wrote it, but then I came to
the conclusion that calling this on anything but an float would be
wrong.

Iain


More information about the Digitalmars-d mailing list