New structs
JMRyan
nospam at nospam.com
Fri Sep 10 21:24:10 PDT 2010
"Steven Schveighoffer" <schveiguy at yahoo.com> wrote in
news:op.vitwqwoveav7ka at localhost.localdomain:
> I think it was a typo. He meant
>
> S1* c = new S1()
>
> BTW, I filed a bug report on this a while back:
>
> http://d.puremagic.com/issues/show_bug.cgi?id=4247
>
> -Steve
Yes, and the comment repeated the same typo. The whole line
should have read:
S1* c = new S1(); // Works, D initializes c* with S1.init
I just voted for your bug report.
More information about the Digitalmars-d
mailing list