Mercurial > projects > ddmd
view dmd/ArrayTypes.d @ 117:fe941d774f4a
+ ctfe of assign operations
author | Trass3r |
---|---|
date | Thu, 02 Sep 2010 02:50:19 +0200 |
parents | e28b18c23469 |
children | 347de076ad34 |
line wrap: on
line source
module dmd.ArrayTypes; import dmd.common; import dmd.Array; alias Vector!Object Objects; class TemplateParameters : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Statements : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class BaseClasses : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class ClassDeclarations : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Arguments : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Identifiers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } } class Initializers : Array { final typeof(this) copy() { auto a = new typeof(this); copyTo(a); return a; } }