gg:
> Why we cant deduce value parameter of templates:
> void caracterize(uint m)(pp!(m)){
>
> }
> class pp(uint m){
>
> }
> void main(){
> caracterize(pp!5);
> }You are doing it wrong. Try: caracterize(new pp!5U()); You need to build the class instance with new, and if you want an uint you need to add a U. You may also ask similar questions in the D.learn group. Bye, bearophile
