[fpc-pascal] how to define a generic subclass inheriting from another generic class?

Anthony Walter sysrpl at gmail.com
Tue Dec 10 15:58:38 CET 2013


Or more simply in the latest Delphi mode:

  TMyMap<TKey, TData> = class(TFPGMap<TKey, TData>)
    // ...
  end;

Which is how the FPC mode syntax should have been to begin with IMO.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20131210/3c02873c/attachment.html>


More information about the fpc-pascal mailing list