How to get nogc to work with manual memory allocation

Jacob Carlborg via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 4 23:35:04 PDT 2014


On 04/09/14 22:30, Kagamin wrote:

> emplace calls constructor, and constructor can't be realistically
> required to be nogc. It depends on the constructor. Similar for destroy.

But if the constructor is @nogc or if there's a default constructor.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list