On Tue, 8 Sep 2009 10:44:36 -0400, Bruce Bauman wrote about [fpc-devel]
function overloading question:

> Can an overloaded function differ only by the return type?

No.

The specific function has to be selected from the range of overloads by
its argument signature. As a result, all the overloads of a given name
must have different sequences/types of arguments.
-- 
Regards,

Dave  [RLU #314465]
=======================================================================
[email protected] (David W Noon)
=======================================================================
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to