Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1532: Extract Method question

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Mindcrime Posted - Aug 14 2006 : 01:58:55 AM
When I extract a method (in C++), the extracted code for the method is put in the header file, not in the cpp file like I would expect. Is this normal behavior? Is there an option to include just the declaration in the header and put the implementation in the cpp file? Or is that something that needs to be done manually?
1   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 14 2006 : 09:49:01 AM
The behavior is by design. Use "Move Implementation to Source File" after the Extract.

See the paragraph titled, "New Method Remains in Header for C/C++," in the documentation:

www.wholetomato.com/products/features/extractMethod.html?more=yes

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000