You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
andre.horst
Posted - Feb 11 2010 : 09:59:16 AM WinXP SP3, VC++6.
I try to move the implementation of a destructor from header to source file via the refactor menu and it doesnt work, regardless if I select the destructor name with or without the ~.
4 L A T E S T R E P L I E S (Newest First)
accord
Posted - Feb 15 2010 : 3:29:07 PM OOps. It seems to be a regression, it is new and is working with 1738.
case=39777
andre.horst
Posted - Feb 15 2010 : 05:20:49 AM Forgot to say, that i also tried 1812
andre.horst
Posted - Feb 15 2010 : 05:19:39 AM Your case works fine. Add "virtual" to the destructor and it will not work anymore . Here is my small test class
class CTest
{
public:
CTest()
{
}
virtual ~CTest()
{
int i = 0 ;
}
void f( void )
{
int i = 0 ;
}
};
accord
Posted - Feb 12 2010 : 8:36:35 PM Which Visual Assist version are you using? It is working for me using VA 1812 witch is the latest beta version so it may be fixed since.