With an STL map, I would use the find on the key (which would be the
int) and be told if it is already in the map. With TMap I must create an
object inheriting from TObject which contains the int. TMap's FindObject
requires a pointer to the key. But I would have to make a new key object
to hold the int; then it wouldn't be in the TMap since it is new.
Is TMap not meant to be used in this way?
Thanks,
Richard