Recent

Author Topic: Generics as Templates  (Read 2641 times)

Chronos

  • Full Member
  • ***
  • Posts: 211
    • PascalClassLibrary
Generics as Templates
« on: October 29, 2010, 11:50:42 am »
Read wiki page about implementation of templates: http://wiki.freepascal.org/Templates
There are some other Delphi tutorials on the web related to templates. Some of them are listed in External links section on wiki.

Native generics support in FPC can't handle generic inheritance and generic class reference yet. Templates way can do and can be used to build generic classes library now. Such library could be reworked to native generics later.

You can check my experimental generic classes in attachment.