Implementing a tree with recursive Algebraic

Kamil Koczurek koczurekk at gmail.com
Fri Jun 15 15:02:06 UTC 2018


On Friday, 15 June 2018 at 14:57:33 UTC, Adam D. Ruppe wrote:
> You can make the tree store a *pointer* to a tree though. 
> That's the traditional way to do it and it works here too.

Oh, alright. I changed Tree to be a class instead of a struct and 
it seems to work just fine now. Thanks a lot!


More information about the Digitalmars-d-learn mailing list