Author Topic: Insert all class method without implementation question  (Read 9790 times)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Insert all class method without implementation question
« on: February 26, 2010, 01:29:48 pm »
like this declaration:
Code
private:
    void Start(const wxString& file);
When insert the implementation, it's became to:
Code
/** @brief Start
  *
  * @todo: document this function
  */
void Frame::Start(constwxString&file)
{

}


"constwxString&file" : It's seems lost the blank type.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Insert all class method without implementation question
« Reply #1 on: February 26, 2010, 01:51:53 pm »
No problems here (neither on debian 64-bit nor on winxp sp3).

Offline blueshake

  • Regular
  • ***
  • Posts: 459
Re: Insert all class method without implementation question
« Reply #2 on: February 26, 2010, 01:57:16 pm »
fine here too. :D
see the screen shot.
Keep low and hear the sadness of little dog.
I fall in love with a girl,but I don't dare to tell her.What should I do?

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: Insert all class method without implementation question
« Reply #3 on: February 26, 2010, 02:39:06 pm »
Find the reason, because ollydbg's patch.
fix now.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Insert all class method without implementation question
« Reply #4 on: February 26, 2010, 03:35:09 pm »
Find the reason, because ollydbg's patch.
fix now.
Which patch? What's wrong?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5916
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Insert all class method without implementation question
« Reply #5 on: February 26, 2010, 04:48:12 pm »
Find the reason, because ollydbg's patch.
fix now.
Which patch? What's wrong?
my patch in parsertest project. 
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Insert all class method without implementation question
« Reply #6 on: February 26, 2010, 06:03:24 pm »
my patch in parsertest project. 
Is this fixed meanwhile in this project?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ