File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -592,7 +592,7 @@ CPPTRACE_TRY {
592
592
}
593
593
```
594
594
595
- > [!WARNING ]
595
+ > [!IMPORTANT ]
596
596
> There is an unfortunate limitation with `return ` statements in these try /catch macros: The implementation on Windows
597
597
> requires wrapping the try body in an immediately-invoked lambda and and as such `return ` statements would return from
598
598
> the lambda not the enclosing function. Cpptrace guards against misleading `return `s compiling by requiring the lambdas
@@ -606,7 +606,7 @@ CPPTRACE_TRY {
606
606
> }
607
607
> ```
608
608
609
- > [!WARNING ]
609
+ > [!IMPORTANT ]
610
610
> There is a footgun which is mainly relevant for code that was written on an older version of cpptrace: It's possible
611
611
> to write the following without getting errors
612
612
> ```cpp
You can’t perform that action at this time.
0 commit comments