Formatting a string on a variadic parameter function without using GC

David G. Maziero via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Mar 1 20:24:39 PST 2016


I forgot to add that the "RenderText(font,0,0,"FPS: 
"~to!string(fps));" was an older version where it wasn't const 
char *, but string. And I was using a foreach, so no 
null-termination. But that's beyond the point of not using GC.


More information about the Digitalmars-d-learn mailing list