[Issue 21334] std.conv.to could have an overload taking a default value for conversion errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 4 17:12:14 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=21334

Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
I think this will be resolved as part of making Phobos more @nogc. Adding
special overloads like this might not be worth it and could make the API harder
to reason with.

--


More information about the Digitalmars-d-bugs mailing list