Recursive data structure using template won't compile

Manfred Nowak svv1999 at hotmail.com
Sat Nov 10 02:20:27 PST 2012


Rob T wrote:

> I want to create a simple recursive data structure as follows:
> 
> struct R
> {
>     int value;
>     d_list!R Rlist;
> }

I do not see any usage for the member `d_list!R Rlist'.

Please explain.

-manfred


More information about the Digitalmars-d-learn mailing list