-
Notifications
You must be signed in to change notification settings - Fork 483
Closed
Description
Code:
01 class pippo
02 {
03 public:
04 pippo();
05 pippo(int a){m_c = a;};
06 pippo(char pp){m_c = 0;};
07 clear(){m_c = 0;};
08 private:
09 int m_c;
10 };
11
12 pippo objNone("hello");
13 pippo objOk;
14
15 int main(int argc, char *argv)
16 {
17 objNone.clear();
18 objOk.pippo(NULL);
19
20 return 0;
21 }
If I position the caret on the "objOk" then "Goto Declaration", the caret goto line 13 ("pippo objOk").
If I position the caret on the "objNone" then "Goto Declaration" don't work. The problem seems to be the object declaration (string in costructor).
best regards,
Generoso