UDA and trait for non-GC managed pointers
Nordlöw via Digitalmars-d
digitalmars-d at puremagic.com
Sat Oct 15 12:36:19 PDT 2016
On Saturday, 15 October 2016 at 17:48:13 UTC, Basile B. wrote:
> I agree. We are several people to do it already. I've started
> to during last spring (see
> https://forum.dlang.org/post/ficbsdfokvbvslatmomr@forum.dlang.org).
> So far I use "@NoGc" and "@TellGcRange" added.
Why does the template argument to `MustAddGcRange` default to
`void`?
And why can't `MustAddGcRange` just be called any type instead of
just `struct`, `union` or `class`?
More information about the Digitalmars-d
mailing list