Is there a setting in global to have it distinguish between different
functions with the same name based on their parameter lists or declared
scope?
For example, given the following file:
//==========================================
#include <iostream>
void Cout(int num) { cout << num << endl; }
void Cout(float num) { cout << num << endl; }
class MyClass
{
public:
void Cout(int num) { cout << num << endl; }
};
int main(int argc, char* argv[])
{
int x = 0;
float y = 0.0f;
Cout(x);
Cout(y);
MyClass mc;
mc.Cout(x);
}
//==========================================
Jumping from any of the three calls to Cout in main() takes me to the
version that accepts an int parameter, rather than the most appropriate
one.
_______________________________________________
Help-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-global