On Saturday, 14 August 2021 at 15:58:17 UTC, Tejas wrote:
If you're willing to help further, would you please tell me why there is a GC allocation in the code below that uses ```emplace```? Will such code truly work if GC is never linked in the program?

https://run.dlang.io/is/XEc2WJ

```
onlineapp.d(26): Error: `@nogc` function `D main` cannot call non-@nogc function `core.memory.GC.stats`
```

Looks like `GC.stats` uses the GC.

Reply via email to