[Bug c++/36852] Two dimensional array in template method argument list incorrectly interpreted.

2008-07-17 Thread djh at emss dot co dot za
--- Comment #2 from djh at emss dot co dot za 2008-07-17 12:47 --- I have successfully reproduced this problem: Create a header file with the following structure, saving it as "a.h": class A { public: template static T foo1(T [3][3]); }; template T A::foo1(T t[3][3]) {

[Bug c++/36852] Two dimensional array in template method argument list incorrectly interpreted.

2008-07-16 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2008-07-16 16:37 --- We badly need a self-contained testcase (per our general guidelines) because something trivial inspired by your PR, like the below compiles just fine. template T A::determinant3(T matrix[3][3]) { // NB: no