[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fw: Fw: ctags with overloaded (or scoped) functions
From: |
ml-global |
Subject: |
Fw: Fw: ctags with overloaded (or scoped) functions |
Date: |
Fri, 3 Feb 2006 18:37:04 -0700 |
User-agent: |
Mutt/1.5.8i |
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.
- Fw: Fw: ctags with overloaded (or scoped) functions,
ml-global <=