Author |
Topic |
|
kennyl
Ketchup Master
50 Posts |
Posted - Sep 03 2012 : 10:39:16 PM
|
Why is this not provided?
Regards, Kenny |
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Sep 04 2012 : 09:49:13 AM
|
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? |
|
|
kennyl
Ketchup Master
50 Posts |
Posted - Sep 04 2012 : 10:30:04 PM
|
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 |
|
|
accord
Whole Tomato Software
United Kingdom
3287 Posts |
Posted - Sep 05 2012 : 4:18:29 PM
|
Thank you for the explanation. |
|
|
sean
Whole Tomato Software
USA
2817 Posts |
Posted - Jul 18 2016 : 10:53:12 PM
|
case=10239 is implemented in build 2107. |
|
|
|
Topic |
|