On Wednesday, 31 May 2017 at 09:31:48 UTC, Jonathan M Davis wrote:
On Wednesday, May 31, 2017 08:18:07 Vasileios Anagnostopoulos
via Digitalmars-d-learn wrote:
[...]
Well, if you're not doing checked exceptions, the interesting
question is really what _doesn't_ throw rather than what
throws, because if the compiler knows that a function doesn't
throw, it can optimize out the exception handling mechanisms
that are normally required.
I don't think this is possible in current D? @nothrow functions
can still throw Error.