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
 List non-member functions that use type of object
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MikMik
Senior Member

42 Posts

Posted - Nov 14 2017 :  07:12:44 AM  Show Profile  Reply with Quote
Since, at least in C++, nonmember functions that take an object of a class type as a parameter are (or can be) part of the class's interface, it would be nice if VA could help us by listing said functions when searching for members of the class.

So if I have:

class X
{//...};
int someFunction(X x/*, other args?*/);

Later, if I type:

X myobject;
myobject. <- At this point, it should list all the members of X, plus someFunction

Of course, then it should rewrite it as someFunction(myobject...)

Thanks!

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 14 2017 :  11:32:27 AM  Show Profile  Reply with Quote
We're considering to implement this at some point:

case=61242

Thank you for the feedback, this sounds like a good idea. I've noted your interest in the case.
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