annotate compile/template_class_08.d @ 308:1dcc48f613dc

template argument / alias David Medlock <amedlock@nospam.org> 2005-03-09 news:d0nmd8$427$1@digitaldaemon.com nntp://news.digitalmars.com/digitalmars.D.bugs/3129
author thomask
date Mon, 14 Mar 2005 07:07:41 +0000
parents
children d3a3e0c251d8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
308
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
1 // $HeadURL$
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
2 // $Date$
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
3 // $Author$
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
4
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
5 // @author@ David Medlock <amedlock@nospam.org>
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
6 // @date@ 2005-03-09
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
7 // @uri@ news:d0nmd8$427$1@digitaldaemon.com
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
8 // @url@ nntp://news.digitalmars.com/digitalmars.D.bugs/3129
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
9
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
10 module dstress.compile.template_class_08;
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
11
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
12 class Template( T1 ){
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
13 }
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
14
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
15 alias Template!( int ) Int;
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
16
1dcc48f613dc template argument / alias
thomask
parents:
diff changeset
17 alias Template!( Template!(Int) ) Bug;