Why D const is annoying
SomeDude
lovelydear at mailmetrash.com
Sat Apr 28 02:59:19 PDT 2012
On Sunday, 11 December 2011 at 04:16:04 UTC, Mehrdad wrote:
> Moar bugs/ICEs...
>
> struct S(int N) { this(T!N) { } }
> alias S!1 M;
>
> annoy.d(1): Error: template instance T!(N) template 'T' is not
> defined, did you mean M?
> annoy.d(1): Error: T!(N) is used as a type
> ty = 35
> Assertion failure: '0' on line 145 in file 'mtype.c
No more ICE on 2.059 Win32
More information about the Digitalmars-d
mailing list