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

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue May 3 09:10:38 PDT 2016


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

ag0aep6g at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ag0aep6g at gmail.com

--- Comment #3 from ag0aep6g at gmail.com ---
(In reply to Jack Stouffer from comment #2)
> Adding nothrow is also impossible because this throws
> when the computer is out of memory.

You can still throw an OutOfMemoryError with nothrow. Or does RefCounted throw
some an Exception (as opposed to an Error)?

--


More information about the Digitalmars-d-bugs mailing list