In delegate pattern is it good to make the destuctor virtual ?
class MyClass
{
...
};
class MyClassDelegate
{
...
};
On one hand class MyClassDelegate is an interface and supposed to be inherited from, but on the other hand it's not supposed to delete the subclass via the MyClassDelegate pointer
What do you think ?