[fpc-devel] Static class methods can or cannot be virtual?
Maciej Izak
hnb.code at gmail.com
Mon Jan 22 18:45:57 CET 2018
2018-01-22 18:25 GMT+01:00 Denis Kozlov <dezlov at gmail.com>:
> I presume then there is no way for having a class property who's returned
> value can be dynamically changed in child classes? In other words, class
> property getters/setters can only be implemented by the class that declared
> the property.
>
Correct. There was some topic about "static class methods" and "class
property" some time ago on fpc-devel or in fpc-pascal. For example static
class methods can be used as callback procedure for external APIs/Libraries.
--
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20180122/4b63c92d/attachment.html>
More information about the fpc-devel
mailing list