[Issue 17868] add pragma(crt_con/destructor)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 6 13:26:20 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=17868

--- Comment #9 from Steven Schveighoffer <schveiguy at yahoo.com> ---
(In reply to Walter Bright from comment #8)
> What's the difference between this and `shared static this()` ?

This uses the C runtime's features to do static ctor/dtor (if the compiler
supports it), shared static this uses D's ModuleInfo to do it.

--


More information about the Digitalmars-d-bugs mailing list