Lines Matching full:template

3 template <typename T1, typename T2>
6 template <typename T1, typename T2>
12 template <typename T>
17 template <>
22 template <int x>
25 template <typename T, int y>
36 template <typename T>
43 template <typename T>
49 int y = T::template my_templf<int>(0);
57 template<typename T, typename A1>
63 template <class T> class UseBase {
68 template <class T> class UseA : public UseBase<T> {
73 template <class T> class Sub : public UseBase<int> { };
75 template <class _Ret, class _Tp>
87 template<unsigned N>
90 template<> bool isInt<8>(int x) {
95 template<typename _CharT>
105 template<typename T> struct S_PR7660 { void g(void (*)(T)); };
106 template<> void S_PR7660<int>::g(void(*)(int)) {}
109 template<typename> class C_PR7670;
110 template<> class C_PR7670<int>;
111 template<> class C_PR7670<int>;
113 template <bool B>
118 extern template class S2<true>;
120 template <typename T>
125 template <typename T>
128 template <typename T>
132 extern template struct S4<int>;
145 template <typename T>
150 template<class T> void f_PR8134(T);
151 template<class T> void f_PR8134(T);
155 template <typename T>
158 template <typename T, unsigned N>
167 template<typename T>
170 template<unsigned N>
173 // Zero-length template argument lists
175 template<typename T> void h();
178 template<typename T> void f();
181 template<typename T>
183 T::template g<>(17);
184 ptr->template g2<>(17);
192 template<typename T> static void g(T);
193 template<typename T> void g2(T);
198 template<typename T, int inlineCapacity = 0> class Vector { };
201 template<int inlineCapacity>
205 template<int inlineCapacity>
210 template< typename > class Foo;
212 template< typename T >
219 template<typename...A> struct NestedExpansion {
220 template<typename...B> auto f(A...a, B...b) -> decltype(g(a + b...));
222 template struct NestedExpansion<char, char, char>;
225 template < typename _Alloc >
228 template < bool > class __pool;
230 template < template < bool > class _PoolTp >
235 template < template < bool > class _PoolTp >
238 template < template < bool > class _PoolTp >
241 template < typename _Poolp = A < __pool > >
251 template<typename T>
260 template void f<int>();
263 template<typename T> void doNotDeserialize() {}
264 template<typename T> struct ContainsDoNotDeserialize {
267 template<typename T> struct ContainsDoNotDeserialize2 {
270 template<typename T> int ContainsDoNotDeserialize<T>::doNotDeserialize = 0;
271 template<typename T> void ContainsDoNotDeserialize2<T>::doNotDeserialize() {}
274 template<typename T> void DependentSpecializedFunc(T x) { x.foo(); }
275 template<typename T> class DependentSpecializedFuncClass {
283 template<class> class mask_array;
284 template<class> class valarray {
294 template<class> class mask_array {
295 template<class> friend class valarray;
301 template<typename T> int f() {
308 template<typename T> int g() {
316 template<typename> struct decay {};
318 template<typename FooParamTy> auto foo(FooParamTy fooParam) -> decltype(fooParam);
319 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>;
330 template<typename> struct decay {};
332 template<typename... Foos> int returnsInt(Foos... foos);
334template<typename... FooParamTy> auto foo(FooParamTy... fooParam) -> decltype(returnsInt(fooParam.…
335template<typename... BarParamTy> auto bar(BarParamTy... barParam) -> decay<decltype(returnsInt(bar…
346 template<typename> struct decay {};
348 template<class... Foos> int returnsInt(Foos... foos);
350 template<typename FooParamTy> void foo(FooParamTy fooParam) { decltype(fooParam) a; }
351 template<typename BarParamTy> auto bar(BarParamTy barParam) -> decay<decltype(barParam)>;
362 template<typename T> struct A { static int n; };
369 template <int foo = 10, class T>
372 template <int foo, class T>
378 template <class A = int, class B>
381 template <class A, class B>
387 template <class T>
390 template <template <class> class C = Container, class D>
393 template <template <class> class C, class D>
401 template<int> struct A {
402 template<int> constexpr int f() const { return 1; }
403 template<> constexpr int f<0>() const { return 2; }
406 template<> template<int> constexpr int A<0>::f() const { return 3; }
407 template<> template<> constexpr int A<0>::f<0>() const { return 4; }
408 template<> template<> constexpr int A<0>::f<1>() const { return 5; }
412 template int A<2>::f<0>() const;
414 template int A<2>::f<1>() const;
415 extern template int A<3>::f<0>() const;
416 extern template int A<3>::f<1>() const;
418 template<int> struct B {
419 template<typename> static const int v = 1;
420 template<typename T> static const int v<T*> = 2;
421 template<> static const int v<int> = 3;
423 template<typename> static constexpr int w = 1;
424 template<typename T> static constexpr int w<T*> = 2;
425 template<> static constexpr int w<int> = 3;
428 template<> template<typename> constexpr int B<0>::v = 4;
429 template<> template<typename T> constexpr int B<0>::v<T*> = 5;
430 template<> template<typename T> constexpr int B<0>::v<T&> = 6;
433 //template<> template<> constexpr int B<0>::v<int> = 7;
434 template<> template<> constexpr int B<0>::v<float> = 8;
436 template<> template<typename> constexpr int B<0>::w = 4;
437 template<> template<typename T> constexpr int B<0>::w<T*> = 5;
438 template<> template<typename T> constexpr int B<0>::w<T&> = 6;
439 template<> template<> constexpr int B<0>::w<int> = 7;
440 template<> template<> constexpr int B<0>::w<float> = 8;
447 template<typename T> struct A : Base {
453 template <template <class> class Template>
456 template <class T>
457 TakesClassTemplate<T::template Member> getWithIdentifier();