• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Curious bug with C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Using tab for completions...
  • Next by Date: Java API symbol index
  • Previous by thread: Re: Using tab for completions...
  • Next by thread: Java API symbol index
  • Index(es):
    • Date
    • Thread