Last active
December 19, 2015 17:38
-
-
Save ofan/5992420 to your computer and use it in GitHub Desktop.
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
class Foo; | |
Foo* newFooSingleton(); | |
Foo* global_foo_ptr_; | |
const Foo* global_const_foo_ptr_ = newFooSingleton(); | |
const Foo& global_const_foo_ref_ = *global_const_foo_ptr_; | |
class Bar; | |
// Class definition here | |
class Foo { | |
public: | |
Foo(); | |
~Foo(); | |
Foo& aPubMethod(); | |
private: | |
Bar m_bar; // Bar is declared but not defined | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment