http://d.puremagic.com/issues/show_bug.cgi?id=1650
Witold Baryluk <bary...@smp.if.uj.edu.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bary...@smp.if.uj.edu.pl --- Comment #12 from Witold Baryluk <bary...@smp.if.uj.edu.pl> 2010-01-24 21:09:31 PST --- You should use probably something like this: void proc(T : T[])(T[] val) { } Is there any reason this is still open? I cheked documentation and there is such snippet: void Foo(T, U=T*)(T t) { U p; ... } int x; Foo(&x); // T is int, U is int* Well, for me it is strange that comment says "T is int", Foo is specialized and recived T (int), but we give it a pointer. Something really wrong somewhere. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------