Skip to content

Instantly share code, notes, and snippets.

@thiagomg thiagomg/window.h
Created Nov 5, 2015

Embed
What would you like to do?
Ciclic dependency problem
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
You can’t perform that action at this time.