Lines Matching full:template
3 template<template<typename T> class X> struct A; // expected-note 2{{previous template template parameter is here}}
5 template<template<typename T, int I> class X> struct B; // expected-note{{previous template template parameter is here}}
7 template<template<int I> class X> struct C; // expected-note{{previous non-type template parameter with type 'int' is here}}
9 template<class> struct X; // expected-note{{too few template parameters in template template argument}}
10 template<int N> struct Y; // expected-note{{template parameter has a different kind in template argument}}
11 template<long N> struct Ylong; // expected-note{{template non-type parameter has a different type 'long' in template argument}}
14 template<class> struct Z;
16 template<class, class> struct TooMany; // expected-note{{too many template parameters in template template argument}}
23 A<Y> *a4; // expected-error{{template template argument has different template parameters than its corresponding template template parameter}}
24 A<TooMany> *a5; // expected-error{{template template argument has different template parameters than its corresponding template template parameter}}
25 B<X> *a6; // expected-error{{template template argument has different template parameters than its corresponding template template parameter}}
27 C<Ylong> *a8; // expected-error{{template template argument has different template parameters than its corresponding template template parameter}}
29 template<typename T> void f(int);
31 A<f> *a9; // expected-error{{must be a class template}}
34 A<::N::Z> *a10; // expected-error{{found '<::' after a template name which forms the digraph '<:' (aka '[') and a ':', did you mean '< ::'?}}
42 template <typename, typename = int>
46 template <typename ,int>
50 template <template<typename,int> class TT, typename T, int N>
51 int operator<<(int, TT<T, N> a) { // expected-note{{candidate template ignored}}
55 void f0( Y<int,1> y){ 1 << y; } // expected-note{{in instantiation of function template specialization 'N::operator<<<Y, int, 1>' requested here}}