[fpc-devel] Encoded AnsiString

Michael Schnell mschnell at lumino.de
Tue Jan 7 17:07:32 CET 2014


On 01/07/2014 04:33 PM, Jonas Maebe wrote:
> but more regarding descendent classes in existing third party (= user) 
> source code that override methods using AnsiString parameters.

Automatic type conversion should be able to handle this (as the new type 
would preserve and thus dynamically know the type of the information it 
hold).

A more sever problem with third parties is that they might derive a new 
class from TStrings. I did not decently check what happens to legacy 
code in that case. I do hope this can be automatically handled in most 
cases.

-Michael



More information about the fpc-devel mailing list