Lines Matching full:template
4 // to the implicit argument list of the primary template.
6 template<typename T, int N, template<typename> class X> int v1;
7 template<typename T, int N, template<typename> class X> int v1<T, N, X>;
8 // expected-error@-1{{variable template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list}}
10 template<typename...T> int v2;
11 template<typename...T> int v2<T...>;
12 // expected-error@-1{{variable template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list}}
14 template<int...N> int v3;
15 template<int...N> int v3<N...>;
16 // expected-error@-1{{variable template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list}}
18 template<template<typename> class...X> int v4;
19 template<template<typename> class...X> int v4<X...>;
20 // expected-error@-1{{variable template partial specialization does not specialize any template argument; to define the primary template, remove the template argument list}}
22 template<typename Outer> struct X {
23 template<typename Inner> static int y;
24 template<typename Inner> static int y<Outer>; // expected-warning {{cannot be deduced}} expected-note {{'Inner'}}
25 template<typename Inner> static int y<Inner>; // expected-error {{does not specialize}}
27 template<typename Outer> template<typename Inner> int X<Outer>::y<Outer>; // expected-warning {{cannot be deduced}} expected-note {{'Inner'}}
28 template<typename Outer> template<typename Inner> int X<Outer>::y<Inner>; // expected-error {{does not specialize}}
32 template<typename Outer> struct Y {
33 template<typename Inner> static int y;
35 template<> template<typename Inner> int Y<int>::y<Inner>; // expected-error {{does not specialize}}