File: output02.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-- 781 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 [cn C] 
{
};

class [cn C]<|int|>;

class [cn C]<|int|>
{
};

void $[di f]({ int $(|<*>[di f]|)[[2]]({int}) });

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

		class [cn F] {
			$[cn E]::[cn D]::[cn F]::[di F]({int $[di i], const [cn F] $<*>[di k]});
		};
	};


	void $[di length]({}) const {}
};


class [cn Base]
{
public:~
	virtual void $[di foo]({});
};

class [cn SubClass] 
{

};

int $[di main]({})
{
	foo = [cn E]::[cn D](bar);
	bar = foo(88.8);
}