Home | History | Annotate | Download | only in CodeGenCXX

Lines Matching full:template

41   template<typename _CharT >
48 template<> void stdio_sync_filebuf<int[1]>::xsgetn() {
50 template<> void stdio_sync_filebuf<int[2]>::xsgetn() {
52 template<> void stdio_sync_filebuf<int[3]>::xsgetn() {
54 template<> void stdio_sync_filebuf<int[4]>::xsgetn() {
56 extern template class stdio_sync_filebuf<int[2]>;
59 template class stdio_sync_filebuf<int[3]>;
67 template<typename _CharT >
73 template<> void stdio_sync_filebuf<wchar_t>::xsgetn();
77 template<typename T1>
83 template<typename T2>
87 extern template class C<int>;
89 // The extern template declaration should not prevent us from producing
103 template<typename T>
109 extern template class basic_fstreamXX<char>;
110 // This template instantiation should not cause us to produce a vtable.
112 template void basic_fstreamXX<char>::is_open() const;
116 template <typename T>
121 template<typename T>
124 // Should not cause us to produce vtable because template instantiations
126 template void S<int>::m();
130 template <class T> struct A { static void foo(); };
133 template <class T> friend void A<T>::foo();
137 template <class T> void A<T>::foo() {
148 template <int i> class A {
156 template class A<0>;
164 template <typename T> struct S {
174 template <typename T> const int S<T>::arr[] = { 1, 2, foo() }; // possible side effects
175 template <typename T> const int S<T>::arr2[] = { 1, 2, kBar }; // no side effects
176 template <typename T> const int S<T>::x = sizeof(arr) / sizeof(arr[0]);
177 template <typename T> const int S<T>::y = sizeof(arr2) / sizeof(arr2[0]);
178 template <typename T> int S<T>::f() { return x + y; }
187 // change the exact form the class template appears to have.
189 template <int N> struct S {