Compiler error with slices, .dup and ref Parameter
anonymous via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Nov 20 04:28:06 PST 2014
On Thursday, 20 November 2014 at 09:20:34 UTC, Ali Çehreli wrote:
> Judging from the name init(), I don't think you need ref anyway.
thanks for the explanation. I can't remove the ref because it is
Main.init in gtkd.
A simple solution is init(args)
I just tried to remove a non-GTK argument (a filename) via
slicing. This is not necessary at all...
More information about the Digitalmars-d-learn
mailing list