Skip to content

Commit 7a7aecc

Browse files
author
Colin Robertson
authored
Merge pull request #3572 from hannes-harnisch/patch-1
Changing confusing wording about C++ exceptions
2 parents bbcd13c + f073d4d commit 7a7aecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cpp/structured-exception-handling-c-cpp.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Destroying TestClass!
119119
Executing SEH __except block
120120
```
121121

122-
If you use **`/EHa`** to compile the code, the `TestClass` destructor executes whether the exception was thrown by using `std::throw` or by using SEH to trigger the exception. That is, whether `CPPEX` is defined or not. The output looks like this:
122+
If you use **`/EHa`** to compile the code, the `TestClass` destructor executes whether an exception was thrown using a standard C++ `throw` expression or by using SEH. That is, whether `CPPEX` is defined or not. The output looks like this:
123123

124124
```Output
125125
Throwing C++ exception

0 commit comments

Comments
 (0)