Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-06

Hash table with different kind of key

4 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Damien Gerard

Hi !

Is there somewhere hash tables with different kind of keys and if possible different kind of values ?
Like in C++ actually with a std::map.

May be it would be possible with fpc 2.2.2 and generics ?

Damien Gerard "Intelligence is 10 million rules." -- Douglas Lenat
Florian Klaempfl
to Damien Gerard
Show quoted text 8 lines
Hi ! Is there somewhere hash tables with different kind of keys and if possible different kind of values ? Like in C++ actually with a std::map. May be it would be possible with fpc 2.2.2 and generics ?

fgl.TFPGMap

Damien Gerard
to Florian Klaempfl
Florian Klaempfl wrote 8 lines
Damien Gerard schrieb: > Hi ! > Is there somewhere hash tables with different kind of keys and if > possible different kind of values ? > Like in C++ actually with a std::map. > May be it would be possible with fpc 2.2.2 and generics ? fgl.TFPGMap

My hero ! Thanks :)

Damien Gerard "Intelligence is 10 million rules." -- Douglas Lenat
Damien Gerard
to Damien Gerard
Damien Gerard wrote 13 lines
Le Jun 2, 2008 à 11:29 AM, Florian Klaempfl a écrit : > Damien Gerard schrieb: >> Hi ! >> Is there somewhere hash tables with different kind of keys and if >> possible different kind of values ? >> Like in C++ actually with a std::map. >> May be it would be possible with fpc 2.2.2 and generics ? > > fgl.TFPGMap My hero ! Thanks :)

However it seems I have to wait for FPC 2.2

Damien Gerard "Intelligence is 10 million rules." -- Douglas Lenat