November 26, 2005 auto and "new Struct" | ||||
---|---|---|---|---|
| ||||
Attachments: | struct Struct{ int i; } int main(){ auto s = new Struct; // line 14 return 0; } b.d(14): cannot implicitly convert expression (new S **) of type S ** to S * Added to DStress as http://dstress.kuehne.cn/run/a/auto_12_A.d http://dstress.kuehne.cn/run/a/auto_12_B.d Thomas |
Copyright © 1999-2021 by the D Language Foundation