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 {
592592}
593593```
594594
595- > [!WARNING ]
595+ > [!IMPORTANT ]
596596> There is an unfortunate limitation with `return ` statements in these try /catch macros: The implementation on Windows
597597> requires wrapping the try body in an immediately-invoked lambda and and as such `return ` statements would return from
598598> the lambda not the enclosing function. Cpptrace guards against misleading `return `s compiling by requiring the lambdas
@@ -606,7 +606,7 @@ CPPTRACE_TRY {
606606> }
607607> ```
608608
609- > [!WARNING ]
609+ > [!IMPORTANT ]
610610> There is a footgun which is mainly relevant for code that was written on an older version of cpptrace: It's possible
611611> to write the following without getting errors
612612> ```cpp
You can’t perform that action at this time.
0 commit comments