Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 List non-member functions that use type of object

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
MikMik Posted - Nov 14 2017 : 07:12:44 AM
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!
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 14 2017 : 11:32:27 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000