Marco Cantu's recent blog post
The Case of Delphi Const String Parametersopened a can of worms.
A very, very old can...
The presented behavior is not something new, and it is certainly not a compiler bug. It is just the way reference counting works. A pure ARC problem—one instance of something is destroyed when the other one is created and assigned, because the constparameter did not trig
Weiterlesen...