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

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Sep 9 22:42:02 CEST 2008


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++?


Jonas



More information about the fpc-devel mailing list