ne 23. 12. 2018 13:10 odesÃlatel Michelle Long via Digitalmars-d-learn < digitalmars-d-learn@puremagic.com> napsal:
> class X > { > > } > > class X(int N) : X > { > > } > > Is there any real reason we can't do this? Actually yes. It would break almost all of my code. In D you can do thing like this: class X(int N) { X something; // it is same as X!N something; } So I do not need to write X!N everywhere inside X class template