[Issue 11319] std.range.zip is not yet nothrow
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Apr 25 03:05:29 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=11319
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> ---
This is a bit impossible to fix.
We could change all exceptions to be RangeError, which would make everything
nothrow. However that would break @safe, because safe functions cannot catch
Errors. It would also break any code which happened to handle exceptions being
thrown out of a zip() call.
So I'm not sure what to do with this.
--
More information about the Digitalmars-d-bugs
mailing list