[Issue 5931] keyword new insists on calling a struct's (non-zero argument) constructor--in other words, it won't allow default initialization; also postblit this(this) constructor dosen't get called from "new <structname>(<struct_instance>)"
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 5 19:59:02 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5931
--- Comment #1 from Christopher the Magnificent <ultimatemacfanatic at gmail.com> 2011-05-05 19:55:08 PDT ---
This line above (5th line or so)
> File file;
should read
File* file;
in other words, the member <file> is supposed to be a pointer to File.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list