Created
April 28, 2020 20:25
-
-
Save narodnik/1b33537e8f24e5a9fb036d893b503b41 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
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