Overloading and return type

Why function's return type is NOT considered when overloading functions?
1
2
void f();
int f()
is not valid because there is no way to distinguish them at the point where it's called.
Topic archived. No new replies allowed.