Lines Matching refs:array
3 template<int N> void f0(int (&array)[N]);
6 template<> void f0(int (&array)[1]);
14 template<> void f0(char (&array)[1]); // expected-error{{no function template matches}}
15 template<> void f0<2>(int (&array)[2]) { }
18 template<typename T, int N> void f1(T (&array)[N]); // expected-note{{matches}}
19 template<int N> void f1(int (&array)[N]); // expected-note{{matches}}
21 template<> void f1(float (&array)[1]);
22 template<> void f1(int (&array)[1]);
25 template<typename T> void f1(T (&array)[17]); // expected-note{{matches}}
26 template<> void f1(int (&array)[17]); // expected-error{{ambiguous}}
29 template<int N> void f2(double (&array)[N]);
30 template<typename T> void f2(T (&array)[42]);
32 template<> void f2<double>(double (&array)[42]);
33 template<> void f2<42>(double (&array)[42]);
35 void f2<25>(double (&array)[25]); // expected-error{{specialization}}