Advertisement
tinyevil

Untitled

Jan 1st, 2019
312
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.12 KB | None | 0 0
  1. class Base{
  2. public:
  3.     void foo(){
  4.         ...
  5.         extension_foo();
  6.         ...
  7.     }
  8.    
  9. protected:
  10.     virtual void extension_foo() = 0;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement