Compilable Recursive Data Structure ( was: Recursive data structure using template won't compile)

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Fri Nov 9 22:09:39 PST 2012


On Sat, 10 Nov 2012 06:29:02 +0100
"Rob T" <rob at ucora.com> wrote:

> If anyone is interested, here's my current work-a-round ...
> 
> // original code that fails ...
> 
[...]
> 
> // modified code that works ...
> 
[...]
> 
> Thanks again for all your help!
> 

I've gone ahead and filed a minimized test case, and also included your
workaround:
http://d.puremagic.com/issues/show_bug.cgi?id=8990

I didn't make that one struct nested since that's not needed to
reproduce the error.



More information about the Digitalmars-d-learn mailing list