Why D const is annoying

Mehrdad wfunction at hotmail.com
Sat Dec 10 02:43:40 PST 2011


... and another...

struct S(L...) {
     enum N = L[0];
     S!(N) me() { return this; }
}
alias S!(1) S2;

annoy.d(3): Error: template instance annoy.S!(N) recursive expansion


More information about the Digitalmars-d mailing list