Re: [fpc-devel] Advanced objects

2020-07-23 Thread Ryan Joseph via fpc-devel
> On Jul 24, 2020, at 6:07 AM, Kostas Michalopoulos via fpc-devel > wrote: > > There should be at least support for operators. I have a custom > dynamic array object type (i use objects instead of classes to avoid > unnecessary heap allocations) which would benefit a lot from such > support. I

Re: [fpc-devel] Advanced objects

2020-07-23 Thread Kostas Michalopoulos via fpc-devel
There should be at least support for operators. I have a custom dynamic array object type (i use objects instead of classes to avoid unnecessary heap allocations) which would benefit a lot from such support. I worked around not having management operators by putting the data fields and core functio

Re: [fpc-devel] Advanced objects

2020-07-23 Thread Ryan Joseph via fpc-devel
> On Jul 23, 2020, at 7:32 AM, Kostas Michalopoulos via fpc-devel > wrote: > > Hi, > > I'd also like to repeat that question since i was just trying to use > management operators for a generic object type (not class, not record) > that i want it to automatically initialize/shutdown itself (ri

Re: [fpc-devel] Advanced objects

2020-07-22 Thread Kostas Michalopoulos via fpc-devel
Hi, I'd also like to repeat that question since i was just trying to use management operators for a generic object type (not class, not record) that i want it to automatically initialize/shutdown itself (right now i'm doing it manually but i'd prefer it if the compiler would do that for me) and fo

[fpc-devel] Advanced objects

2020-03-23 Thread Ryan Joseph via fpc-devel
Checking in on old bug report for "advanced objects" which was marked as acknowledged on the tracker. Was there ever any discussion of this and possibility of it being applied? I don't think it caused any controversy so I was hoping to get to use it some time soon. :) https://bugs.freepascal.or