Created
January 8, 2017 22:17
-
-
Save bolry/29c0c5c84190b1187d1129c449110f8a to your computer and use it in GitHub Desktop.
Meyers singelton, does destruction!
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
widget& instance() { | |
static widget w; | |
return w; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment