i want to end a virtual function chain at a particular class in a hierarchy. is there a way in std c++ to do this?