Recursive data-types

ponce via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Sep 27 04:48:26 PDT 2014


On Saturday, 27 September 2014 at 11:40:19 UTC, Rikki Cattermole 
wrote:
>> How to get out of this trap?
>> Do I have to drop Algebraic and go back to manual tagged 
>> unions?
>
> Converting Function to a class. No where near ideal. But it'll 
> work.

It does work! Thanks.
Actually it's quite appropriate to make it a reference type.



More information about the Digitalmars-d-learn mailing list