-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Speaking for myself, and not having read any of the other responses, here's my
answers to your questions.
zeus wrote:
| I know function overloading is not supported in C.
| I have a few questions about this:
| 1. Why?
Why do you think that function overloading /should/ be supported in C?
My guess that function overloading is not supported in C for the same reasons
that they don't support roof racks for 747s; it's an unnecessary addition that
can have destructive impacts.
| is it from technical reasons? if so, which?
Probably, no technical reason other than "function overloading isn't seen to be
necessary in order to write C programs".
| 2. why wasn't it introduced to the ANSI?
See above.
| 3. Is there any C implementation supporting this feature?
If there are, then their conformance is "implementation defined".
| I assume some of you will claim that there is no need in function
| overloading, so I would like to know your arguments too.
Function overloading is unnecessary from the program pov, and can be overly
confusing from the developers pov. It is unnecessary.
- --
Lew Pitcher
Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (
http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFAlEhqagVFX4UWr64RApHmAKD1ZpfWJBooQbpeq6tkuNJhaJYkzgCgrB9N
3FZ9dlkfXMDCjKpxgATN9/w=
=t1oI
-----END PGP SIGNATURE-----