Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 'Move implementation to source file' for hpp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

azdroppy
New Member

Cyprus
8 Posts

Posted - Dec 06 2015 :  11:41:40 PM  Show Profile  Reply with Quote
For classes completely implemented inside header files (templated class for example) subj action shows 'No suitable source file. Would you like to run Create File?' what is incorrect as templated class can't be sliced into separate files.

Is it possible to implement 'move implementation outside of class definition' for such cases?

feline
Whole Tomato Software

United Kingdom
15453 Posts

Posted - Dec 07 2015 :  8:32:08 PM  Show Profile  Reply with Quote
A good point, we are considering changing this, so that Move Implementation to Source File recognises that the header file is the correct target for a template class member function:

case=67727

For now, one work around is to let VA create the cpp file, and then use VA Outline to select and cut the methods from the cpp file, and then paste them into the header file:

http://docs.wholetomato.com/default.asp?W187

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2507 Posts

Posted - Mar 16 2016 :  12:14:37 AM  Show Profile  Reply with Quote
case=67727 is fixed in build 2093
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2018 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000