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!