On 01/15/2015 06:56 AM, zeljkog wrote:
This compiles:import std.container; class Node { DList!Node children; }
So does using an 'interface', which may be more desirable in some cases: import std.container; interface Iface {} class Node : Iface { SList!Iface children; } void main() { auto n = new Node(); } Ali