Created
November 19, 2012 05:30
-
-
Save hgiddens/4109098 to your computer and use it in GitHub Desktop.
Easy to forget this syntax
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
| class foo { foo(); int x; }; | |
| foo::foo() try : x(1) { | |
| } catch (int e) { | |
| --x; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment