Compilable Recursive Data Structure ( was: Recursive data structure using template won't compile)

Manfred Nowak svv1999 at hotmail.com
Fri Nov 9 12:57:42 PST 2012


Rob T wrote:

> What is happening however, is that the templates are not doing
> what would be expected if the type was introduced manually

The expectations might be wrong.

With Templates one is able to introduce recursive definitions of types 
into the type system. As with recursive functions, the feedom, thereby 
generated, can introduce relaxation as well as strain.

-manfred



More information about the Digitalmars-d-learn mailing list