Whole Tomato Software Support Forum
Whole Tomato Software Support Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Visual Assist X
 Suggestions and Ideas
 Rename + base classes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

366 Posts

Posted - Apr 09 2008 :  10:09:08 AM  Show Profile  Visit znakeeye's Homepage  Reply with Quote
class IFoo
{
    void bar() = 0;
};

class CFoo
{
    void bar() {}
};



CFoo *p = new CFoo();
p->bar(); // Rename to "baz"!

Now rename "bar" to "baz". It won't get affected in IFoo, and you do not get the option to do so either!

accord
Moderator

Hungary
1215 Posts

Posted - Apr 09 2008 :  3:54:14 PM  Show Profile  Reply with Quote
IFoo and CFoo are not connected. Also you forget to make bar() virtual

If you use derivation it will work only if you are renaming the member in the base class.

It is planned to extend find references (and rename) functionality so it will find base classes from derived classes, but I cannot remember the case number

Update: this is case=3346

Edited by - accord on Apr 09 2008 4:03:09 PM
Go to Top of Page

support
Moderator

5029 Posts

Posted - Jan 31 2010 :  1:15:27 PM  Show Profile  Visit support's Homepage  Reply with Quote
case=3346 is implemented in build 1810

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Whole Tomato Software Support Forum © 2010 Whole Tomato Software, Inc Go To Top Of Page
Snitz Forums 2000