What is the best way to use old-style TStrings.AddObject('text', TObject(int)) in ARC environment ?

Comments

  1. As for IndexOfObject I was wondering if this method should be changed to use TObject.Equals so you could make use of overriding the Equals method in your wrapper class without using any hardcoded caching mechanism.

    ReplyDelete
  2. Stefan Glienke Using Equals requires to make changes in TStrings.

    ReplyDelete
  3. Eugene Kryukov Which is why I wrote "I was wondering if this method should be changed" and was looking for some feedback to justify putting this request into QP.

    ReplyDelete

Post a Comment