How can I override a virtual member function of the following type:
virtual AnimalId func(int index) const
where AnimalId
is a typedef
unsigned int
I tried several ways but either ending up by an error that I don't give output or that I don't have an overrider at all. I saw on some website that maybe I need to use static const in order to do this, but I don't know how.