On 2 July 2014 23:34, Brian Schott via Digitalmars-d <[email protected]> wrote: > > 4. isNaN is now a template. This broke some templated code that would > (depending on template instantiations) rely on uint being converted to real. > The new isFloatingPoint template constraint kept this from compiling. I > ended up placing a static if around our call to isNaN to work around this. > Maybe it would be useful to add a template specialization for isNaN that > checks isNumeric && !isFloatingPoint and always returns false. >
I would ask why are you passing integers to isNaN. And I would also give you some heads up on other stuff... https://github.com/D-Programming-Language/phobos/pull/2305
