• Home
  • Raw
  • Download

Lines Matching full:template

5 template<template<typename T> class X> struct A; // expected-note 2{{previous template template par…
7 template<template<typename T, int I> class X> struct B; // expected-note{{previous template templat…
9 template<template<int I> class X> struct C; // expected-note{{previous non-type template parameter…
11 template<class> struct X; // expected-note{{too few template parameters in template template argume…
12 template<int N> struct Y; // expected-note{{template parameter has a different kind in template arg…
13 template<long N> struct Ylong; // expected-note{{template non-type parameter has a different type '…
16 template<class> struct Z;
18 template<class, class> struct TooMany; // expected-note{{too many template parameters in template t…
25 …> *a4; // expected-error{{template template argument has different template parameters than its co…
26 …> *a5; // expected-error{{template template argument has different template parameters than its co…
27 …> *a6; // expected-error{{template template argument has different template parameters than its co…
29 …> *a8; // expected-error{{template template argument has different template parameters than its co…
31 template<typename T> void f(int);
33 A<f> *a9; // expected-error{{must be a class template}}
38 // expected-error@-2 {{found '<::' after a template name which forms the digraph '<:' (aka '[') and…
47 template <typename, typename = int>
51 template <typename ,int>
55 template <template<typename,int> class TT, typename T, int N>
56 int operator<<(int, TT<T, N> a) { // expected-note{{candidate template ignored}}
60 …void f0( Y<int,1> y){ 1 << y; } // expected-note{{in instantiation of function template specializa…
64 template <typename Primitive, template <Primitive...> class F>
70 typedef typename Primitive::template call<F> x;
73 template <template <typename> class... Templates>
83 template <typename T>
85 template <template <typename> class... Templates>
94 static_assert(N == 2, "Number of template arguments incorrect");