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
 Technical Support
 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  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
Whole Tomato Software

United Kingdom
19021 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
Whole Tomato Software

5566 Posts

Posted - Jan 31 2010 :  1:15:00 PM  Show Profile  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:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000