Home | History | Annotate | Download | only in temp.mem

Lines Matching full:template

3   template <class T> operator T*();
6 template <class T> A::operator T*() { return 0; }
7 template <> A::operator char*(){ return 0; } // specialization
8 template A::operator void*(); // explicit instantiation
18 template <class T> struct A { };
19 template <class T> struct B { };
22 template <class T> operator T();
35 template <typename T> operator T();
37 template <typename T>
42 template <typename T>
52 template float Foo::As();
53 template double Foo::As2();
57 template<typename T> operator T*() {
62 template<typename T> operator T*() const; // expected-note{{explicit instantiation refers here}}
64 template<typename T> operator const T*() const {
71 template X0::operator const char*() const; // expected-note{{'X0::operator const char *<char>' requested here}}
72 template X0::operator const int*(); // expected-note{{'X0::operator const int *<const int>' requested here}}
73 template X0::operator float*() const; // expected-error{{explicit instantiation of undefined function template}}
76 x0.operator const int*(); // expected-note{{in instantiation of function template specialization}}