]> rtime.felk.cvut.cz Git - l4.git/blob - tools/preprocess/test/verify/implement_template.h
update
[l4.git] / tools / preprocess / test / verify / implement_template.h
1 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
2
3 #ifndef implement_template_h
4 #define implement_template_h
5
6 //
7 // INTERFACE definition follows 
8 //
9
10 #line 2 "implement_template.cpp"
11
12 template< typename T >
13 class Test
14 {
15 public:
16   void test_func();
17
18 public:  
19 #line 23 "implement_template.cpp"
20   // comment 2
21    // comment 1
22   template<
23     typename X, // comment within template args list
24     typename X2 // another comment in tl args
25   > void __attribute__((deprecated))
26   test_func2<X,X2>();
27 };
28
29 //
30 // IMPLEMENTATION of function templates
31 //
32
33
34 #line 12 "implement_template.cpp"
35
36
37
38 // comment
39 template< typename T > void __attribute__((deprecated))
40 Test<T>::test_func()
41 {
42 }
43
44 #line 20 "implement_template.cpp"
45
46
47
48 // comment 2
49  // comment 1
50 template< typename T > template<
51   typename X, // comment within template args list
52   typename X2 // another comment in tl args
53 > void __attribute__((deprecated))
54 Test<T>::test_func2<X,X2>()
55 {
56 }
57
58 #endif // implement_template_h