Type unions in D
language_fan
foo at bar.com.invalid
Thu Sep 17 08:21:10 PDT 2009
Thu, 17 Sep 2009 09:46:01 -0500, Andrei Alexandrescu wrote:
> language_fan wrote:
>> Do the various variant structures presented here support recursive type
>> definitions such as lists? Is this done efficiently?
>
> In Phobos' Algebraic, if you mention the type This inside the allowed
> types list, it will expand to the Algebraic's type. The support for
> complex constructs involving This is at the moment incomplete.
>
> Andrei
Roger that. Thanks Andrei for the clear answer.
More information about the Digitalmars-d
mailing list