Correct me if I'm wrong: CUtlDict copies key strings to their own memory block
so if I call dict.Insert("blabla", something) I actually have two instances of
the string "blabla" (original constant and a temporary copy) while CUtlMap only
copies the pointer to a constant string I manage so should it be changed or
deleted, the map will work wrong or crash.
Is that right?
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders