SlickEdit 12.0.3, WinXP
I have this declaration in base.h:
class base
{
public:
base();
virtual ~base();
};
I right-click on 'base', select "Show base in symbol browser"
I right-click on 'base', select "Add member function". I type "bool bingo(int x)", and check "Virtual".
Click "OK", select base.cpp file for the implementation, and find that my class def has been farkled:
class base
{
public:
virtual bool bingo(int x);
virtual ~base();
};
Note that the constructor has been replaced by the new member function.
I have a derived class in base.h:
class derivedOne : public base
{
public:
derivedOne();
virtual ~derivedOne();
};
Right-click on 'derivedOne', select "Show derivedOne in Symbol Browser".
Right-click on 'derivedOne', select "Override virtual function", select 'bingo', select base.cpp file for implementation.
base.h:
class derivedOne : public base
{
derivedOne();
virtual ~derivedOne();
};
public:
virtual bool bingo(int x);
Note the location of the override's declaration, and the removal of 'public' from above the constructor.
What's going on? These would be really cool features if I could count on them to work correctly...