[fpc-pascal] (Generic) Container Classes

Juha Manninen juha.manninen at phnet.fi
Sun Nov 29 00:17:15 CET 2009


Hi,

I submitted a TStringHashMap class to CCR. I also created a wiki page:
  http://wiki.lazarus.freepascal.org/StringHashMap

I made a comprehensive demo program for it. It should be good now.

I found some hashed list and similar classes from FPC sources (with no 
documentation) but no hash map with string -> pointer relationship.

The question is why I need to search and port such container classes?
Such containers should be part of libraries. Delphi didn't have them either 
until recently and it was a big missing feature.

Generics syntax is being implemented in FPC. Containers especially would 
benefit from generics.
Is there a concrete plan to make such generics container library?

Regards,
Juha Manninen



More information about the fpc-pascal mailing list