On 29.09.2013 05:30, Xiangrong Fang wrote:
type
generic TTree = class
... ...
end;
TTreeType = class of TTree;
This is illegal code and compiled by pre-2.7.1 FPC only because of bugs
in the generic implementation. "TTree" is not a legal type outside of
the generic's declaration
Hi There,
While playing with generics (ref. class inheritance and type
incompatibility), I have an idea to use "generic class helper" to overcome
the problem that generic methods cannot be "virtual" (because the compiler
see specialized class different than the generic one?)
I have a TTree generi