Overloading methods in C API
Jp Calderone
exarkun at intarweb.us
Sun Jan 19 12:50:20 EST 2003
On Sun, Jan 19, 2003 at 03:56:00AM +0000, Afanasiy wrote:
> On 18 Jan 2003 19:56:24 GMT, Grant Edwards <grante at visi.com> wrote:
>
> Like others, I was caught by "C [has] the former"... and I will just
> say... I meant overloading that developers could define themselves.
>
> Otherwise, I have a tough time thinking of a language
> that doesn't have operator "overloading"...
Many ML variants lack it to some extent. In O'Caml, for example, + only
works on integers. For arbitrary integers (Nums), +/ is the addition
operator (likewise for */, //, %/, etc).
Jp
--
12:00am up 34 days, 9:48, 3 users, load average: 0.23, 0.25, 0.22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20030119/e9557503/attachment.sig>
More information about the Python-list
mailing list