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,
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,
On 2011-05-16 12:32, useo wrote:
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();
}
On Mon, 16 May 2011 15:32:43 -0400, useo unkn...@unknown.com wrote:
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
== Auszug aus Steven Schveighoffer (schvei...@yahoo.com)'s Artikel
On Mon, 16 May 2011 15:32:43 -0400, useo unkn...@unknown.com
wrote:
Hey guys,
is there any chance to create an abstract constructor like:
abstract class ABC {
abstract this();
}
DMD always says ...this
On Mon, 16 May 2011 16:12:05 -0400, nrgyzer nrgy...@gmail.com wrote:
== Auszug aus Steven Schveighoffer (schvei...@yahoo.com)'s Artikel
On Mon, 16 May 2011 15:32:43 -0400, useo unkn...@unknown.com
wrote:
Hey guys,
is there any chance to create an abstract constructor like:
abstract
== Auszug aus Steven Schveighoffer (schvei...@yahoo.com)'s Artikel
On Mon, 16 May 2011 16:12:05 -0400, nrgyzer nrgy...@gmail.com
wrote:
== Auszug aus Steven Schveighoffer (schvei...@yahoo.com)'s Artikel
On Mon, 16 May 2011 15:32:43 -0400, useo unkn...@unknown.com
wrote:
Hey guys,
On Mon, 16 May 2011 16:34:20 -0400, nrgyzer nrgy...@gmail.com wrote:
== Auszug aus Steven Schveighoffer (schvei...@yahoo.com)'s Artikel
If D supported runtime reflection (and it does to a very very small
degree), then you could use it to ensure the correct constructor is
available.
-Steve