sjaffe
Ketchup Master
USA
60 Posts |
Posted - Jul 02 2007 : 12:32:01 PM
|
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 |
|