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 header file?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

kennyl
Senior Member

48 Posts

Posted - Sep 03 2012 :  10:39:16 PM  Show Profile  Reply with Quote
Why is this not provided?

Regards,
Kenny

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 04 2012 :  09:49:13 AM  Show Profile  Reply with Quote
To answer this question, I will have to guess. I think that moving the implementation to the header is a much rarer situation than the opposite. Personally, I think it would be logical to provide it, but to be honest, I want to do this rarely, compared with the "Move Implementation to Source File".

We are, however, considering doing this at some point:

case=10239

Anyway, what is your opinion on this? How often would you use it?
Go to Top of Page

kennyl
Senior Member

48 Posts

Posted - Sep 04 2012 :  10:30:04 PM  Show Profile  Reply with Quote
quote:
Originally posted by accord
Anyway, what is your opinion on this? How often would you use it?



Indeed I need to do that rarely, but still there is this case: when I need to change some function into template function, moving code to header file is required.

Another case is when I need to change a small class that some of its methods are written in source file, then I found I need this class in many other projects, yet the class is small and it's not necessary to export it, so I decide to move all its code to header file such that all I need to do is include this header file in the other projects.

Regards,
Kenny
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Sep 05 2012 :  4:18:29 PM  Show Profile  Reply with Quote
Thank you for the explanation.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jul 18 2016 :  10:53:12 PM  Show Profile  Reply with Quote
case=10239 is implemented in build 2107.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000