WinXP SP2, VS 2003 SP1
Try this code:
--------------------
myclass.h
--------------------
namespace xyz
{
namespace abc { }
class MyClass
{
public:
MyClass(void);
void fooFunc(int a); // Alt-G on fooFunc does nothing
void fooFunc(bool b); // Alt-G on fooFunc jumps to above fooFunc()
virtual ~MyClass(void);
};
}
--------------------
myclass.cpp
--------------------
#include "myclass.h"
using namespace xyz;
using namespace abc; // <<<---- source of the problem
MyClass::MyClass(void)
{}
MyClass::~MyClass(void)
{}
void MyClass::fooFunc( int a ){} // Alt-G on fooFunc offers the both
// fooFunc() from the myclass.h
void MyClass::fooFunc( bool b ){}// Alt-G on fooFunc offers the both
// fooFunc() from the myclass.h