I have a base class (ANIMAL), a descendant class (BIRD) which adds method tweet. I pass an instance of bird to a method expecting a class ANIMAL.
How I can that method check if the passed in object implements method tweet?
This in C++ (with Qt5 in case that matters)