On 07/07/2011 16:54, Alexander Klenin wrote:
On Fri, Jul 8, 2011 at 02:35, Martin<f...@mfriebe.de>  wrote:
On 07/07/2011 16:27, Alexander Klenin wrote:
1) That the code you posted would work quite correctly if "const
string" is fixed,
   including all the optimizations you are suggesting in the rest of
your message.


A different point about this.

What I understand you want is, for "const s: string" to do increase the ref-count. (regardless of any other issues there may or may not be).

But from today's point of view, from what "cons string" does today:
What is the point in doing this.?
Today this would be equal to simply remove the entire feature.

AFAIK, today all that cons string does is remove the ref count.

So basically you say, because of your reasoning, no one should be able to use such a feature in there code?


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to