How to instantiate class object NOT in the GC heap

Alexandr Druzhinin drug2004 at bk.ru
Sun Jul 15 08:21:03 PDT 2012


15.07.2012 22:03, Alex Rønne Petersen пишет:
>
> You pass those after the 'mem' argument to emplace. So, for example:
>
> auto a = emplace!A(mem, "foo", bar, 'b', 'a', 'z');
>

thanks for your help!



More information about the Digitalmars-d-learn mailing list