Ryan Joseph via fpc-devel schrieb am Sa.,
8. Mai 2021, 22:33:
>
>
> > On May 8, 2021, at 12:04 PM, Sven Barth
> wrote:
> >
> > You need to use ChangeOwner as well, but as I wrote you need to pay
> attention for which created symbol you do it at what time.
>
> Ok, maybe this is what I got wrong d
Am 08.05.2021 um 19:38 schrieb Ryan Joseph via fpc-devel:
On May 8, 2021, at 11:18 AM, Sven Barth wrote:
It's not about reference counted classes vs. managed records, but about whether
it's *per type* or *per variable*, the implementation details are completely
irrelevant for now.
So the b
> On May 9, 2021, at 3:40 AM, Sven Barth wrote:
>
> It seems that you don't work much with classes then. If one disallows the
> assignment of a reference counted class to a non-reference counted one then
> you can't use e.g. TStringList.Objects. There is also the problem of method
> pointers
> On May 9, 2021, at 3:40 AM, Sven Barth wrote:
>
> === code begin ===
>
> {$mode objfpc}
>
> type
> TTest = class
> protected
> procedure DoSomething;
> end;
>
> TTestSub = class refcounted(TTest)
> public
> procedure Test;
> end;
>
> procedure TTest.DoSomething;
> begi