Created
April 13, 2017 10:41
-
-
Save Pethaf/70ccd59f5659eeffd5efb7d8995e688f to your computer and use it in GitHub Desktop.
Overrid
This file contains 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
typedef vector<int> vint; | |
class Base | |
{ | |
public: | |
virutal int score(const vint&) = 0; | |
}; | |
class Derived | |
{ | |
public: | |
virtual int score(const vint& diceRolls) override | |
{ | |
//... | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment