We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed465d commit 27122a1Copy full SHA for 27122a1
2nd/003_exception/011_rethrow_if_nested.cpp
@@ -16,7 +16,7 @@ int main() {
16
try {
17
throw xxx();
18
}
19
- catch (...) {
+ catch (...) {
20
throw nested_exception();
21
22
@@ -33,11 +33,11 @@ int main() {
33
34
35
36
37
throw_with_nested(yyy());
38
39
40
- catch (yyy& e) {
+ catch (yyy& e) {
41
rethrow_if_nested(e);
42
cerr << "no nested_exception" << endl;
43
0 commit comments