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
 Technical Support
 Can't change signature of an overloaded function
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AdrianH
Ketchup Master

Canada
71 Posts

Posted - Sep 27 2013 :  2:03:22 PM  Show Profile  Reply with Quote
I would expect that by placing my cursor on a function call which can determine which call it is, that it should be able to change the function signature so long as it doesn't conflict with another.

This is probably more difficult and is why it wasn't done, but it would be great to have.

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - Sep 27 2013 :  2:24:57 PM  Show Profile  Reply with Quote
This is very difficult, but it is something we are keeping an eye on, and intend to add when VA has a sufficiently robust understanding of overloaded functions:

case=2164

When you combine default parameters with types being cast when you call a function, its sometimes difficult to know for sure which overload is being called.

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

Predelnik
Senior Member

Russia
37 Posts

Posted - Jun 12 2014 :  02:47:02 AM  Show Profile  Reply with Quote
I second this, sometimes at least changing const and non-const variants of method in similar fashion is really needed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19185 Posts

Posted - Jun 12 2014 :  7:01:46 PM  Show Profile  Reply with Quote
It is good to know what people are interested in and focussed on. We are still considering this, and are hoping to work out a reliable way of supporting this sooner rather than later. Tracking which overload is being used at every point is a little tricky.

zen is the art of being at one with the two'ness
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