Proposal 2: Exceptions and @nogc
Walter Bright via Digitalmars-d
digitalmars-d at puremagic.com
Sat Apr 8 23:03:33 PDT 2017
On 4/8/2017 9:30 PM, Nicholas Wilson wrote:
> Pardon my ignorance but it does not seem to be clear how preallocated exceptions
> would work. What about exceptions allocated ultimately by the GC but actually
> via an intermediate allocator (e.g. FallBack)?
You can allocate them any way you like - the runtime won't recognize those as
its own refcounted objects, and will not try to free them.
More information about the Digitalmars-d
mailing list