[fpc-devel] Unicodestring branch, please test and help fixing

Florian Klaempfl florian at freepascal.org
Tue Sep 9 23:33:37 CEST 2008


Jonas Maebe schrieb:
> 
> On 09 Sep 2008, at 21:37, Florian Klaempfl wrote:
> 
>> Even C++'s is not good enough to do a ref. counted string in an 
>> efficient way. Just consider the [...] operator which needs to 
>> distinguish between reads and writes to avoid unncessary unique calls.
> 
> Can't you have a const and non-const version of the [] operator in C++?

I tried something similiar once with an older gcc but I didn't get it 
working. Maybe it's possible with newer ones.



More information about the fpc-devel mailing list