> Hey guys, > > is there any chance to create an abstract constructor like: > > abstract class ABC { > > abstract this(); > > } > > DMD always says "...this non-virtual functions cannot be abstract" - > when I use an interface like: > > interface ABC { > > this(); > > } > > I get a similar error: "...constructors, destructors, postblits, > invariants, unittests, new and delete functions are not allowed in > interface ABC" > > Is there any solution or is it possible to create such inheritances > in DMD?
How about: abstract class ABC{ this(); } Timon