Skip to content

Instantly share code, notes, and snippets.

@narodnik
Created April 28, 2020 20:25
Show Gist options
  • Save narodnik/1b33537e8f24e5a9fb036d893b503b41 to your computer and use it in GitHub Desktop.
Save narodnik/1b33537e8f24e5a9fb036d893b503b41 to your computer and use it in GitHub Desktop.
struct network
{
};
struct handshake
{
handshake(network& net)
: net(net)
{
}
network& net;
};
struct foo
{
foo()
: hs(net)
{
}
network net;
handshake hs;
};
int main()
{
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment