__Symbol an alternative to recursive templates for type-introsecption
Nicholas Wilson via Digitalmars-d
digitalmars-d at puremagic.com
Sat Oct 8 21:12:48 PDT 2016
On Sunday, 9 October 2016 at 03:05:22 UTC, Stefan Koch wrote:
> So far it can be visualized as
> struct __Symbol
> {
> string name;
> __Symbol parent;
> /* MaybeLater:
> __SymbolType type;
> __Symbol[] members;
> ....
> */
> }
Infinite recursion if a struct, I assume you mean class :P
More information about the Digitalmars-d
mailing list