[fpc-devel] Suggestion: reference counted objects
Marco van de Voort
marcov at stack.nl
Sat Sep 27 18:45:55 CEST 2014
In our previous episode, Sven Barth said:
>
> > It looks to me like inside methods Self doesn't deserve refcounting,
> > because a method can be invoked only with an existing instance, which
> > will stay alive at least until the call returns.
>
> That's the thing I'm not yet entirely sure about. Though disabling it
> for Self would definitely simplyfy things. I'll simply give it a try and
> then my constructor problems should hopefully be solved as well...
Methods might return SELF as function result?
More information about the fpc-devel
mailing list