[fpc-pascal] Is there a StringRefCount() equivalence?
skalogryz.lists at gmail.com
Fri Apr 30 11:22:45 CEST 2010
On Fri, Apr 30, 2010 at 1:18 PM, Bihar Anwar <bihar_anwar at 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).
More information about the fpc-pascal