the Move implementation to source file cannot handle operator correctly.
for example, i have following code in stdafx.h:
class TESTA
{
public:
int& operator[](int iIndex) {
return data[iIndex];
}
private:
int data[1000];
};
after shift + right clicking on operator, and select Move Implementation To Source File,
the generated code in stdafx.cpp is:
int& * TESTA::[]( int iIndex )
{
return data[iIndex];
}
the 'operator' is lost.