Overloading methods in C API
James Kew
james.kew at btinternet.com
Sun Jan 19 07:40:52 EST 2003
Grant Edwards wrote:
>
> The "+" operator can mean several things:
>
> integer addition
> pointer addition
> floating point addition
Add, add, add. All addition. The details may vary slightly (pointer
arithmetic, for example) but the basic semantics are the same.
> unary postive
That's a different operator -- it's unary, not binary. The fact that it's
represented by the same character in source code is a matter of syntax, not
of operator overloading.
--
James Kew
james.kew at btinternet.com
More information about the Python-list
mailing list