http://d.puremagic.com/issues/show_bug.cgi?id=6322
Summary: IFTI doesn't support static arrays Product: D Version: D1 & D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: verylonglogin....@gmail.com --- Comment #0 from Denis <verylonglogin....@gmail.com> 2011-07-15 07:25:46 PDT --- Maybe it duplicates some other issue, but I didn't find it. Or maybe it is issue 2296. void f(T: T[n], size_t n)(T[n] t) { } void main() { int[2] a; f!(typeof(a))(a); //this compiles f(a); //this doesn't } main.d(7): Error: template main.f(T : T[n],uint n) does not match any function template declaration main.d(7): Error: template main.f(T : T[n],uint n) cannot deduce template function from argument types !()(int[2u]) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------