]> rtime.felk.cvut.cz Git - l4.git/blob - kernel/fiasco/tool/preprocess/test/verify/operator.h
update
[l4.git] / kernel / fiasco / tool / preprocess / test / verify / operator.h
1 // AUTOMATICALLY GENERATED -- DO NOT EDIT!         -*- c++ -*-
2
3 #ifndef operator_h
4 #define operator_h
5
6 //
7 // INTERFACE definition follows 
8 //
9
10 #line 2 "operator.cpp"
11
12 class Foo
13 {
14
15 public:  
16 #line 10 "operator.cpp"
17   void * 
18   operator new(size_t); // funny comment
19   
20   
21 #line 16 "operator.cpp"
22   Foo&
23   operator+(const Foo&);        // funny comment
24   
25   
26 #line 22 "operator.cpp"
27   Foo&
28   operator=(const Foo&);        // funny comment
29   
30   
31 #line 28 "operator.cpp"
32   Foo&
33   operator*(const Foo&);        // funny comment
34   
35 };
36
37 #line 34 "operator.cpp"
38 template <typename T, typename A> std::vector<T, A >& 
39 operator <<(std::vector<T, A>& in, const T& new_elem);
40
41 //
42 // IMPLEMENTATION of function templates
43 //
44
45
46 #line 32 "operator.cpp"
47
48
49 template <typename T, typename A> std::vector<T, A >& 
50 operator <<(std::vector<T, A>& in, const T& new_elem)
51 {
52   in.push_back (new_elem);
53   return in;
54 }
55
56 #endif // operator_h