[Issue 18375] std.getopt uses deprecated rwm operations for shared variables

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Feb 5 17:56:47 UTC 2018


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

--- Comment #3 from Seb <greensunny12 at gmail.com> ---
>  immutable global variables from shared static constructors (not sure if this currently works, but it should be ok from memory model perspective)

No this doesn't work at the moment.


For future readers: it has been used by people before
(https://github.com/vibe-d/vibe.d/pull/2060).

--


More information about the Digitalmars-d-bugs mailing list