Making AssertError a singleton

Jonathan M Davis via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 12 19:52:07 PST 2016


On Monday, 12 December 2016 at 21:02:11 UTC, Andrei Alexandrescu 
wrote:
> On 12/12/2016 02:54 PM, Shachar Shemesh wrote:
>> Now, if you'd make regular Exceptions GC free....
>
> That will come too.

Then why bother making Errors singletons in order to avoid the 
GC? The problem you're trying to fix with this singleton 
suggestion would then be fixed anyway.

- Jonathan M Davis


More information about the Digitalmars-d mailing list