no size yet for forward reference for nested structures

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 14 00:31:07 PST 2015


qqiang:

> I've googled and found no straightforward solution to this 
> issue. The how can I modify my code to eliminate this error?

Your code gives me a different error (Error: PowerHeap!int is 
used as a type).

What if you replace the SList with a dynamic array?

Bye,
bearophile


More information about the Digitalmars-d mailing list