I stumbled upon destructor that is both set as pure virtual but also has brackets behind it for an implementation. I am confused. What does it mean and why is it written like that?
virtual ~MyClass() = 0 {}
I stumbled upon destructor that is both set as pure virtual but also has brackets behind it for an implementation. I am confused. What does it mean and why is it written like that?
virtual ~MyClass() = 0 {}