c++ Programming Glossary: handle_event
Safely override C++ virtual functions http://stackoverflow.com/questions/497630/safely-override-c-virtual-functions one. Take this example class parent public virtual void handle_event int something const boring default code class child public parent.. default code class child public parent public virtual void handle_event int something new exciting code int main parent p new child.. something new exciting code int main parent p new child p handle_event 1 Here parent handle_event is called instead of child handle_event..
|