GSoC 2016 - Precise GC
jmh530 via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Wed May 4 05:42:30 PDT 2016
On Wednesday, 4 May 2016 at 02:50:08 UTC, Jeremy DeHaan wrote:
>
> I'm not sure, but one would thing that @safe code wouldn't need
> any extra information about the union. I wouldn't know how to
> differentiate between them though during runtime. Probably
> someone with more experience with the compiler would know more
> about that kind of thing.
You can identify safe functions with
https://dlang.org/phobos/std_traits.html#isSafe
or
https://dlang.org/phobos/std_traits.html#functionAttributes
More information about the Digitalmars-d-announce
mailing list