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
 Function placement for "Create Implementation"
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

rattazong
New Member

Germany
4 Posts

Posted - Aug 30 2014 :  08:15:14 AM  Show Profile  Reply with Quote
Hey,

when creating an implementation for a function declared in a header file, right now it's placing the function implementation at the very end of the implementation file. This could be improved by iterating through other declared functions and look for their corresponding implementations and placing the new implementation before / after them, depending on the order the functions have been declared in.

I hope you can understand what I mean :)

feline
Whole Tomato Software

United Kingdom
18749 Posts

Posted - Aug 30 2014 :  4:37:24 PM  Show Profile  Reply with Quote
This is something we are looking into, but its not quite as easy as it sounds. It has been discussed before on the forum, and its quite easy if you assume that all other functions have implementations, and that the implementations in the cpp file are in the same order as in the .h file. However this often does not happen, so you then start running into edge cases. Which is just to explain why this is taking a little while to get right:

case=12454

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

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 13 2015 :  8:14:45 PM  Show Profile  Reply with Quote
case=12454 is implemented in build 2059
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