Lines Matching full:template
3 template<int> struct c { c(int) = delete; typedef void val; operator int() const; };
37 template<typename, int=0> struct T3 { T3(int); operator int(); };
64 template<int, int=0> struct a { static const int val = 0; operator int(); }; // expected-note {{here}}
66 template<int, typename> struct e { operator int(); };
78 template<int, int &(S::*)(int)> struct T2 { static const int val = 0; };
82 template<bool> struct Bool { Bool(int); };
93 template<int, typename U> using X = U;
99 template<typename T> struct HasError { typename T::error error; }; // expected-error {{has no members}}
106 template<typename, typename> struct X { operator int(); };
108 template<typename> struct HasError { typedef int Z; };
115 template <int A, typename B> struct T { static int i; operator int(); };
122 template <int A, typename B> struct T {static int i;};
153 template<int, Fn, Fn, Fn> struct T1 { enum { val }; };
154 template<int, int, int> struct T2 { enum { val }; };
155 template<int, Fn> struct T3 { enum { val }; };
156 template<int, typename T> struct T4 : T {};
165 int j(int x = T<a, struct S::template T<0, enum E>>());
166 template <int, typename> struct T { operator int(); };
173 template <typename EncTraits> struct A {
174 void foo(int = EncTraits::template TypeEnc<int, int>::val); // ok