Hi all,

How can I use inheritance with generics? e.g.

type
  generic gt_point<_num> = class
    ...
    end;

  generic gt_box<_tpoint,_num> = class (_tpoint)
    ...
    end;

The above gives me an error; I've tried some other variations but haven't yet 
found anything that works

Thanks,
David

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to