How to use destroy and free.

Alain De Vos devosalain at ymail.com
Tue May 3 12:59:31 UTC 2022


Error: array literal in @nogc function test.myfun may cause a GC 
allocation

@nogc void myfun(){
	scope int[] i=[1,2,3];
}//myfun

May is a fuzzy word...


More information about the Digitalmars-d-learn mailing list