Hi, 07.05.2021 1:32, Ryan Joseph via fpc-devel: [...]
it's kind of frustrating that we have ref counted types but that isn't extended to classes.
Indeed. However, unfortunately classes are substantially different in that they can cause reference circles, which then cause damage to ref counting, unless some severe complications are implemented, and then it will probably get close to garbage collection. Well, AFAIU.
Regards, Ryan Joseph
_______________________________________________ fpc-devel maillist - email@example.com https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel