DIP76: Autodecode Should Not Throw

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 7 02:15:41 PDT 2015


Vladimir Panteleev:

> std.conv doesn't return NaN if you try to convert "banana" to a 
> double.

I have suggested to add a nothrow function like "maybeTo" that 
returns a Nullable result.

Bye,
bearophile


More information about the Digitalmars-d mailing list