1 2 3 4 5 6 7 8 9 10 11 12 13
{$mode objfpc} uses fgl; type TFoo1 = class(TObject); TFoo2 = class type TFooList = specialize TFPGList<TFoo1>; end; begin end.