Am 08.03.2018 04:44 schrieb "Ryan Joseph" :
1) Given the example below we have a template for a standard ref counted
record. Shouldn’t there be some “meta record” type that implements this
automatically? I’m thinking about adding this to some types but the idea of
So in the trunk we have managed records now which is a brilliant addition and
long overdue. Some questions these bring up:
1) Given the example below we have a template for a standard ref counted
record. Shouldn’t there be some “meta record” type that implements this
automatically? I’m
2018-03-08 4:13 GMT+01:00 Ryan Joseph :
> 1) Given the example below we have a template for a standard ref counted
> record. Shouldn’t there be some “meta record” type that implements this
> automatically? I’m thinking about adding this to some types but the idea of
>
2018-03-08 7:48 GMT+01:00 Sven Barth via fpc-pascal <
fpc-pascal@lists.freepascal.org>:
> You could use an include file containing both the declaration and
> implementation controlled by compiler defines together with a macro for the
> type name.
>
Very improper and totally bad approach. This is
> On Mar 8, 2018, at 1:48 PM, Sven Barth via fpc-pascal
> wrote:
>
> You could use an include file containing both the declaration and
> implementation controlled by compiler defines together with a macro for the
> type name.
That’s a nice trick. If those