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.
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Jul 02 2007 : 3:22:46 PM I am seeing the same effect here. Thank you for the clear description.