File: output14.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 (35 lines) | stat: -rw-r--r-- 620 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

template <{class T}> class [cn string] {};

template <{class T = [cn string]<|int|>, template <{class S}> class TT = hi}> class [cn Other] 
{
	[cn T] $[di id];
	class [cn FOO] {};
	[cn TT]<|[cn T]|> $<*>[di foobar]({int $[di i], char $[di j], [cn T]<&>});	
};


class [cn C]
{
	
};

[cn Other]<|int|> $[di i] = 22;
[cn C] $[di c] = 33;

[cn Other]<|int|>::[cn FOO] $[di j] = 33;

template <{class T}> class [cn D]
{
	void $[di foo]({int});
} $[di FOO];

template <{class T}> void $[di bar]({int $[di i]})
{
	int $[di j] = 0;
	i = j - 0 - [cn D]<|int|>();
}

int $[di main]({int $[di argc], char $<*>[di argv][[]]})
{
}