File: input02.cpp

package info (click to toggle)
kelbt 0.12-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,456 kB
  • ctags: 1,986
  • sloc: cpp: 8,015; ansic: 3,331; makefile: 137; sh: 92
file content (59 lines) | stat: -rw-r--r-- 506 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59


template <class T> class C 
{
};

class C<int>;

class C<int>
{
};

void f( int (*f)[2](int) );

class D
{
	D *foo;
};
struct E
{
	class D {
		void e(E i);
		D(int i);
		D(D i);
		D(D D);
		~D();
		virtual ~D();
//		template <class> class C;
		class C<int *> {
			E::alsdfj;			
		};
		class D {};

		class F {
			E::D::F::F(int i, const F *k);
		};
	};


	void length() const {}
};


class Base
{
public:
	virtual void foo();
};

class SubClass 
{

};

int main()
{
	foo = E::D(bar);
	bar = foo(88.8);
}