Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Alt+G and interface pointers

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
znakeeye Posted - Jan 29 2008 : 10:06:11 AM
Consider this:
class MyInterface
{
public:
    void foo() = 0; // Alt+G always jumps to this point :(
};

class CMyClass : public MyInterface
{
public:
    void foo()
    {
        // Not reachable with Alt+G on a MyInterface pointer!
    }
};

int main(int argc, _TCHAR* argv[])
{
    MyInterface *p = new CMyClass;
    p->foo(); // Alt+G should show a menu with possible selections!
    return 0;
}
A bug if you ask me.
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jan 29 2008 : 4:47:32 PM
At which point people will immediately complain that alt-g no longer works.

Considering virtual functions, you are asking for every overload of the function in the entire class hierarchy.

We are considering a form of Find References that will list all of the implementations of a virtual function:

case=6647

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