Overloading methods in C API

Grant Edwards grante at visi.com
Sun Jan 19 10:53:54 EST 2003


In article <og8k2vcu9ro7alrotei17tnm7umvmnou8f at 4ax.com>, Afanasiy wrote:
> On 18 Jan 2003 19:56:24 GMT, Grant Edwards <grante at visi.com> wrote:
> 
>>In article <Xns9307CD595EDCBrcamesz at amesz.demon.nl>, Robert Amesz wrote:
>>> Grant Edwards wrote:
> 
>>For whatever historical reasons, operator overloading and function/method
>>overloading are usually considered as two separate language features.  C and
>>python have the former but not the latter. C++ has both.
> 
> 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"...

You're correct: C doesn't have programmer controlled operator
overloading.

-- 
Grant Edwards                   grante             Yow!  One FISHWICH coming
                                  at               up!!
                               visi.com            




More information about the Python-list mailing list