RFC: reference counted Throwable
Ola Fosheim Grostad via Digitalmars-d
digitalmars-d at puremagic.com
Fri Sep 19 22:32:58 PDT 2014
On Saturday, 20 September 2014 at 05:24:11 UTC, Walter Bright
wrote:
> D can have ref counted objects, but it will not work with a
> compiler switch to switch them back and forth. They'll have to
> coexist peacefully with GC objects.
If you don't expose the refcount, write libraries as if you have
only RC, and don't expose destructors then you probably can. Just
turn inc/dec into dummies.
More information about the Digitalmars-d
mailing list