Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:template

24 template<typename T>
37 template<typename T>
42 template void vla_in_template<HasConstantValue>(HasConstantValue);
43 template void vla_in_template<HasNonConstantValue>(HasNonConstantValue); // expected-note{{instantiation of}}
45 template<typename T> struct X0 { };
47 // Cannot use any variably-modified type with a template parameter or
51 X0<__typeof__(array)> x0a; // expected-error{{variably modified type 'typeof (array)' (aka 'int [N]') cannot be used as a template argument}}
54 template<typename T>
56 template<int (&Array)[T::value]> // expected-error{{non-type template parameter of variably modified type 'int (&)[HasNonConstantValue::value]'}} \
66 // Template argument deduction does not allow deducing a size from a VLA.
68 template<typename T, unsigned N>
69 void accept_array(T (&array)[N]); // expected-note{{candidate template ignored: could not match 'T [N]' against 'int [N]'}}
97 template<typename T>
103 template void f<int>(int); // expected-note{{instantiation of}}
109 template<typename T>
137 template<typename T> int f(int n) {
150 template<typename T>
154 template<typename T>