PDA

View Full Version : Reimplementing a function without sub-classing?



qlands
11th May 2010, 14:23
Is it possible to re-implement a function without sub-classing? Something like link such function to a external function?

Thanks?

Zlatomir
11th May 2010, 14:29
If you want exactly same function (with the same parameter number/type) the answer is: no, you can't.

But you can overload with different number/type of parameters (but you can't overload with different return type)