Created
November 5, 2015 13:10
-
-
Save thiagomg/aab75a99fb5cd3daecbc to your computer and use it in GitHub Desktop.
Ciclic dependency problem
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
struct main_window; | |
struct window { | |
window(main_window &parent) : _parent(parent) { } | |
void close(); | |
private: | |
main_window &_parent; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment