[fpc-devel] function overloading question

David W Noon david.w.noon at ntlworld.com
Tue Sep 8 17:31:07 CEST 2009


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]
=======================================================================
david.w.noon at ntlworld.com (David W Noon)
=======================================================================



More information about the fpc-devel mailing list