[fpc-pascal] std::map equivalent?

Sven Barth pascaldragon at googlemail.com
Wed Jun 13 12:28:28 CEST 2012


Am 13.06.2012 11:36 schrieb "Alexander Shishkin" <alexvins at mail.ru>:
>
> 12.06.2012 17:38, Xiangrong Fang пишет:
>>
>> Hi,
>>
>> Is there a std::map equivalent for free pascal?
>>
>> Thanks,
>> Shannon
>>
>> --
>>
>>
>>
>> _______________________________________________
>> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
>> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>>
> gmap.TMap from fcl-stl.

But be careful with the types you use. As far as I remember the fcl-stl is
not completely compatible with managed types like strings or records
containing such types (TFPGList has no problem with them).

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20120613/68ac2c98/attachment.html>


More information about the fpc-pascal mailing list