[fpc-devel] Errors using generics - what is wrong?

Žilvinas Ledas ledas at liux.lt
Tue Oct 6 22:48:12 CEST 2009


Vincent Snijders wrote:
>
> I would try to use a named type:
> type
>   TTwoUnicodeValuesList = specialize TTwoValuesList<UnicodeString>;
>
> procedure TForm1.Button1Click(Sender: TObject);
> var
>  lst:  TTwoUnicodeValuesList;
> begin
> end;
>
> Vincent
>

Thanks, it works with named type.
Is using not named specializations is some kind of "not implemented yet" 
part? :)


Regards
Zlvinas Ledas



More information about the fpc-devel mailing list