Will we ever see class operators on classes in Delphi? So far only records can have them! I know that iOS can have them but will the next update bring them?? Or at least has someone discussed about it?

Comments

  1. Since those operator hack works with class functions they won't be possible on interfaces.

    David Heffernan As for memory management. Many operators are not producing new entities so they work regardless ARC or not.

    ReplyDelete
  2. Stefan Glienke Having written a few types with operators, I can assure you that most operators do (and should) return new entities. Only the comparison operators should not.

    ReplyDelete

Post a Comment