[fpc-devel] THashMap or similar with ansistring as key

Martin Frb lazarus at mfriebe.de
Sat Nov 9 17:19:11 CET 2024


Google didn't deliver an answer...

If I do
    specialize TDictionary<AnsiString, TMyData>
    specialize T{Fast}HashMap<AnsiString, TMyData>

will it actually has the string content? Or is the string the address in 
the string variable => and therefore 2 strings with the same text can be 
different?

And if the latter, how do I get the former?
(generics, or any other place that has such a map)



More information about the fpc-devel mailing list