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

Florian Klaempfl florian at freepascal.org
Tue Sep 9 22:37:56 CEST 2008


peter green schrieb:
> 3: Use an automatic reference counting system either implemented in the 
> compiler (the delphi/fpc way) or implemented using a very powerfull 
> operator overloading system (the C++ way, last I checked freepascal did 
> not have sufficiant operator overloading capabilities to implement this)

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.



More information about the fpc-devel mailing list