Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Rename + base classes

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 - Apr 09 2008 : 10:09:08 AM
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!
2   L A T E S T    R E P L I E S    (Newest First)
support Posted - Jan 31 2010 : 1:15:27 PM
case=3346 is implemented in build 1810
accord Posted - Apr 09 2008 : 3:54:14 PM
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

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