Array of pointers
Arjan Fetahu
21arjan at hotmail.com
Sat Jan 18 06:57:38 PST 2014
> Nodes are reference types in D, so probably you don't need to
> use a * for Node. Alternatively use a struct handled by pointer.
>
> "auto content;" can't compile, you need a type, or you have to
> template Node on T and use it for content.
>
> Bye,
> bearophile
Youre right, it compiles now, and the object generated is of the
same size.
I'm still confusing with C. I have some experience with C
experience, so I still have to learn tamplates.
Thaks for the help.
Arjan
More information about the Digitalmars-d-learn
mailing list