Curious bug with C++
Curious bug with C++
- Subject: Curious bug with C++
- From: Davide M <email@hidden>
- Date: Sun, 15 May 2005 10:59:51 +0200
I noticed a curious bug in the list Xcode provides with all the
methods and functions implemented in a .cpp file.
if I declare a method like this
class X
{
...
void myMethod(int x, int y = 0);
...
};
in the header file, then implement it as follows in the .cpp file
X::myMethod(int x, int y /* = 0*/)
{
Y->doSomething();
Y->doSomethingElse();
}
the list shows two times "F() doSomething" (in italics) instead of "M
() X::myMethod"
if I remove the /* = 0*/ or take it out of the parenthesis the list
magically get right.
of course this is nothing serious, but should be fixed.
regards
Davide
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden