[Issue 13983] RefCounted needs to be pure, @safe, nothrow

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jun 12 18:34:43 PDT 2016


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

--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
(In reply to Jack Stouffer from comment #2)
> Adding nothrow is also impossible because this throws
> when the computer is out of memory.

This is incorrect since the out-of-memory is an Error, not an Exception, and
nothrow functions can throw Errors.

--


More information about the Digitalmars-d-bugs mailing list