Skip to content

Instantly share code, notes, and snippets.

@hovatterz
Created July 13, 2012 20:03
Show Gist options
  • Save hovatterz/3107060 to your computer and use it in GitHub Desktop.
Save hovatterz/3107060 to your computer and use it in GitHub Desktop.
class SomeInterface {
public:
virtual ~SomeInterface() {}
virtual void implement_me() = 0;
};
class SomeImpl : public SomeInterface {
public:
void implement_me() { printf("yay"); }
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment