July 04, 2022 [Issue 21334] std.conv.to could have an overload taking a default value for conversion errors | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=21334 Andrej Mitrovic <andrej.mitrovich@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #1 from Andrej Mitrovic <andrej.mitrovich@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. -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply