Last active
October 10, 2016 15:25
-
-
Save jdiez17/07a27083e9d6b36227c2607463ec06da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// a.hpp | |
class A { | |
virtual void do() = 0; | |
} | |
// b.hpp | |
#include "a.hpp" | |
class B: public A { | |
void do_something_else(); | |
} | |
// b.cpp | |
#include "b.hpp" | |
void B::do() { | |
// ... | |
} | |
void B::do_something_else() { | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment