GC allocation issue

monarch_dodra monarchdodra at gmail.com
Thu Mar 20 23:53:05 PDT 2014


On Friday, 21 March 2014 at 00:56:22 UTC, Etienne wrote:
> I'm trying to store a copy of strings for long-running 
> processes with malloc. I tried using emplace but the copy gets 
> deleted by the GC. Any idea why?

Could you show the snippet where you used "emplace"? I'd like to 
know how you are using it. In particular, where you are 
emplacing, and *what*: the slice, or the slice contents?


More information about the Digitalmars-d-learn mailing list