no size yet for forward reference for nested structures

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 15 14:30:03 PST 2015


On 1/15/15 9:56 AM, zeljkog wrote:
> This compiles:
>
> import std.container;
>
> class Node
> {
>     DList!Node children;
> }
>

Then use DList?

DList is not SList, they were written by different people.

-Steve


More information about the Digitalmars-d mailing list