Home | History | Annotate | Download | only in SemaTemplate

Lines Matching full:template

2 template<typename T>
10 template<> void X0<char>::f0(char);
11 template<> void X0<char>::f1(type);
14 template<typename _CharT>
24 template<typename T> struct S {
29 template<> struct S<int>::U { static const int n = sizeof(int); }; // expected-error {{explicit specialization of 'U' after instantiation}}
33 template<typename T>
36 template<int N> void bar();
39 template<typename T>
40 template<int N>
41 void Baz<T>::bar() { // expected-note {{couldn't infer template argument 'N'}}
45 // template parameter matching failed.
46 template<typename T>
47 void Baz<T>::bar<0>() { // expected-error {{cannot specialize a member of an unspecialized template}} \
48 // expected-error {{no function template matches}}
53 template<typename T> struct Helper {
54 template<int N> static void func(const T *m) {} // expected-note {{failed template argument deduction}}
57 template<typename T> void Helper<T>::func<2>() {} // expected-error {{cannot specialize a member}} \
58 // expected-error {{no function template matches}}