On Fri, Apr 30, 2010 at 1:18 PM, Bihar Anwar <bihar_an...@rocketmail.com> wrote:
> Because there are few certain condition when we need to observe what happened 
> to ansistring/unicodestring variable. In my case now, I need it to learn how 
> reference counting works. For example, using Move() on ref-counted string 
> type is considered danger unless we do it properly, and I need to verify that 
> everythings is correct after such operation.

I'd suggest you to use your own move()-safe types. So you don't need
to mess with rtl-level language features (like ref-counted types).

thanks,
dmitry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to