[fpc-devel] Abstract functons with parameters on classes
idokan at gmail.com
Thu Jul 27 17:49:32 CEST 2006
Is there a way to do the following ?
TA = class
function fnc : Boolean; virtual; abstract;
TA2 = class (TA)
function fnc (const a : Boolean) : Boolean; override;
The issue is that TA is an abstract class, while TA2 and anything else
will inherit this class, but will implement different things/ways of
things ... so the "fnc" function will need a different structure on
Please note that the above way does not work for me (maybe because I
have more then one override for the "fnc" function ?).
More information about the fpc-devel