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
 General Release
 Virtual methods are renamed incompletely.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tailsu
Senior Member

37 Posts

Posted - Oct 02 2008 :  06:20:28 AM  Show Profile  Visit tailsu's Homepage  Reply with Quote
When renaming a virtual method in a derived class, I expect that the base classes will have its respective methods renamed as well. Otherwise I'm breaking the hierarchy of overriden methods.

struct base
{
virtual void foo() {}
}

struct derived : base
{
virtual void foo() {} // 'rename' on this method doesn't suggest renaming the foo() method in the base class
}

feline
Moderator

United Kingdom
10888 Posts

Posted - Oct 02 2008 :  07:16:24 AM  Show Profile  Reply with Quote
We are considering doing this:

case=3346

However it is also something that can be tricky at times. For now the solution is to trigger the rename in the base class, which should suggest / offer all of the derived classes.

zen is the art of being at one with the two'ness
Go to Top of Page

support
Moderator

5029 Posts

Posted - Jan 31 2010 :  1:15:00 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