On Saturday, 25 March 2017 at 16:46:00 UTC, crimaniak wrote:
On Saturday, 25 March 2017 at 16:08:49 UTC, NotSpooky wrote:__gshared implies static,...Thanks! Confusing for me moment.
try this: import std.stdio; void main() { import std.stdio; __gshared File f; f = File("test.txt", "w"); f.writeln("hello"); }