I haven't noticed this until I tried it today and boom! Compiler complained:
error: constructors cannot be declared virtual
Why then Constructor is not okay while destructor is, in such as class as this?
Thanks
class MyAbstractClass{
public:
virtual MyAbstractClass(std::string username, std::string password)=0;
virtual ~MyAbstractClass(std::string username, std::string password)=0;
virtual void someOtherMethodsHere()=0;
}