assert(false) and GC

russhy russhy at gmail.com
Fri Jul 9 22:33:20 UTC 2021


i think it only allocate when it hit the assert, but program will 
halt so it's not big deal, even though i feel this is a stupid 
design to make everything depend on GC... it gives bad impression 
when you want avoid it


here is how i do to detect hidden GC allocations

https://run.dlang.io/is/HJVSo0


if you attach a debugged you can see exactly where is the culprit




More information about the Digitalmars-d-learn mailing list