Checking that a template parameter is an enum

Meta via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 2 12:48:46 PDT 2015


On Friday, 2 October 2015 at 18:52:22 UTC, Nordlöw wrote:
> On Friday, 2 October 2015 at 16:21:22 UTC, Meta wrote:
>>> Could that memory usage be tested somehow?
>>
>> Your favourite process monitor I guess.
>
> Any suggestions on an evil D snippet that stress tests 
> different implementations of the above mentioned traits?

I don't know off the top of my head, but I remember somebody on 
these forums mentioning a certain CTFE program that caused DMD to 
take up over 100GB in RAM before the process was killed.


More information about the Digitalmars-d-learn mailing list