Hi Genodians
I would like to create a hierarchy of classes on top of Fifo<>::Element so these object can be stored in fifos:
class A : public Fifo<A>::Element { virtual method() = 0; };
class B : public A { method() override { ... } };
This won't compile because Fifo<>::Element is missing a virtual destructor.
Is there any reason for this? What do you think about adding the virtual destructor to Fifo<>::Element?
Kind regards Stefan