Created
March 7, 2009 17:52
-
-
Save simonask/75396 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
class Base { | |
private: | |
int m_Lol; | |
public: | |
Base(int lol) : m_Lol(lol) {} | |
}; | |
class Foo : public Base { | |
public: | |
Foo() : Base(123) {} | |
Foo(int yay) : Base(yay) {} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment