Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
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  

New Member

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?

Whole Tomato Software

United Kingdom
17777 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:


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:


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

Whole Tomato Software

2817 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:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000