Hi, I have noticed that "Implement Virtual Methods" moves the virtual functions always to the end of the file, even if you have access specifier defined. I think, the virtual functions should keep their access specifier.
Thanks
Here a short example:
class A
{
public:
virtual void f1();
protected:
virtual void f2();
private:
virtual void f3();
};
class B : public A
{
public:
protected:
private:
};
Results after using Implement Virtual Methods on class B:
class B : public A
{
public:
protected:
private:
virtual void f1(); // <- should be in public
virtual void f2(); // <- should be in protected
virtual void f3(); // <- ok (in this case)
};
VA_X.dll file version 10.8.2031.0 built 2014.03.31
DevEnv.exe version 9.0.30729.1 Standard
Windows 7 6.1 Build 7601 Service Pack 1
Language info: 1252, 0x407