On 18 Mar 2011, at 22:47, Jorge Aldo G. de F. Junior wrote:
> Can FPC deal with double-dispatch ?
No, because overloading works the same as in C++ (determined statically at
compile time).
Jonas___
fpc-pascal maillist - fpc-pascal@lists.freepascal.
Can FPC deal with double-dispatch ?
Say you have an object defined as :
Type
TMyObject = Class
Public
Procedure DoSomething(Const aObject : TObject); Virtual;
End;
TMyParameterObject = Class
Public
End;
TMyOtherParameterObject = Class
Public
End;
Can you do something like :
Type
TMyOtherObjec