Hi everyone,

I'm trying to something like a tree structure.

The following:

import std.container;
class Tree
{
        private SList!Tree subTree;
}

Produces: class Tree no size yet for forward reference.

How i should proceed in order to keep this declaration?

Thanks a lot!

PD: (You guys are incredibly quick to answer, that's awesome!)

Reply via email to