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
 Alt+G and interface pointers
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Jan 29 2008 :  10:06:11 AM  Show Profile  Reply with Quote
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.

feline
Whole Tomato Software

United Kingdom
19020 Posts

Posted - Jan 29 2008 :  4:47:32 PM  Show Profile  Reply with Quote
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

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