[fpc-devel] Pointer cache for fast class/pointer access.

Marco van de Voort marcov at stack.nl
Thu Jan 5 13:09:44 CET 2012

In our previous episode, Sergei Gorelkin said:
> > Afaik stack based TP Objects are not initialized and thus not safe for
> > automated types. (I looked into upgrading TV with ansistring a few years
> > back)
> >
> This is no longer correct, stack based objects are initialized and finalized if necessary.
> There was indeed an issue with inheritance (if both ancestor and descendant contain managed members, 
> then members of ancestor were not handled), but I personally fixed that in r16335 a year ago.

Ah, I thought Delphi didn't intialize them either, and therefore it was a
won't fix.

But anyway, thanks, I updated the relevant wiki page.

More information about the fpc-devel mailing list