Making AssertError a singleton

Shachar Shemesh via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 12 22:34:02 PST 2016


On 13/12/16 06:45, Andrei Alexandrescu wrote:
> I agree the perfect system would fix everything - problem is we don't
> have it yet. The per-thread singleton is a step forward (which at some
> point we should probably make publicly available).
>
>
> Andrei

If it's not going to be needed once exceptions are GC free, and 
unlinking GC from phobos is not likely to happen until that happens, can 
you explain how is it a step forward?

To me, it seems like it isn't heading where we're going and it doesn't 
provide any extra benefit for the interim time.

Shachar


More information about the Digitalmars-d mailing list