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
 Class Rename Incorrect For Method Parameter Type
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sjaffe
Ketchup Master

USA
60 Posts

Posted - Jul 02 2007 :  12:32:01 PM  Show Profile  Reply with Quote
VAX 1557 (eVC 4.0)

It is common in C++ to create prototypes for unused copy constructors, operator= methods, etc (some refer to this as the "Orthodox Canonical Form"). An example:

class Foo
{
Foo(const Foo&); // not used, no implementation
};

If I invoke VAX to rename the class to Foobar I get:

class Foobar
{
Foobar(const Foo&); // not used, no implementation
};

It does not rename the parameter type. If I add a dummy parameter:

class Foo
{
Foo(const Foo& dummy); // not used, no implementation
};

Then I get:

class Foobar
{
Foobar(const Foobar& dummy); // not used, no implementation
};

Which is the expected behavior.




Art is the zen of being one too

Stan

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jul 02 2007 :  3:22:46 PM  Show Profile  Reply with Quote
I am seeing the same effect here. Thank you for the clear description.

case=3027

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