Home | History | Annotate | Download | only in Misc

Lines Matching full:template

6 template <int X, typename Y, int Z = 5>
13 template <int A, typename B>
24 // Template instantiation - foo
27 // CHECK1: template <int X = 5, typename Y = int, int Z = 5> struct foo {
28 // CHECK2: template <int X = 2, typename Y = double, int Z = 3> struct foo {
30 // Template definition - foo
31 // CHECK1: template <int X, typename Y, int Z = 5> struct foo {
32 // CHECK2: template <int X, typename Y, int Z = 5> struct foo {
34 // Template instantiation - bar
35 // CHECK1: template <int A = 5, typename B = int> int bar()
36 // CHECK2: template <int A = 5, typename B = int> int bar()
38 // Template definition - bar
39 // CHECK1: template <int A, typename B> B bar()
40 // CHECK2: template <int A, typename B> B bar()
42 // CHECK1-LABEL: template <typename ...T> struct A {
43 // CHECK1-NEXT: template <T ...x[3]> struct B {
44 template <typename ...T> struct A {
45 template <T ...x[3]> struct B {};
48 // CHECK1-LABEL: template <typename ...T> void f(T ...[3]) {
50 template <typename ...T> void f(T ...[3]) {
57 template<typename T>