[fpc-devel] Object upgrades
Ryan Joseph
genericptr at gmail.com
Mon Jun 10 22:19:50 CEST 2019
> On Jun 10, 2019, at 4:04 PM, Sven Barth via fpc-devel <fpc-devel at lists.freepascal.org> wrote:
>
> Ehm... You are aware that you can simply use TRecord here?
>
Yes but it’s lots of redundancy. It’s nice to have a type that says “the type of the structure”, the same as what “self” basically means but at the class level (compile time). TObject has ClassType but a compile time construct would be a nice companion.
Regards,
Ryan Joseph
More information about the fpc-devel
mailing list