Re[fpc-pascal] cursive data structures using FP generics

leledumbo leledumbo_cool at yahoo.co.id
Thu Dec 11 13:06:52 CET 2008


Last time I try (about a semester ago) the compiler cannot do specialization
based on another. For instance, if we have:

type
  generic TTree<T> = class
  type
    TChild = specialize TTree<T>; <-- the compiler chokes on this
    TChildren = array of TChild;
  ...
  end;

What's the status now?
-- 
View this message in context: http://www.nabble.com/Recursive-data-structures-using-FP-generics-tp20954180p20954180.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.




More information about the fpc-pascal mailing list