Skip to content

Commit 15c21a5

Browse files
hubert-reinterpretcasttkoeppe
authored andcommitted
[except.handle] Mark as note: exception object access via handler decl
The subject paragraph is merely an observation and is redundant as normative text. Make it a note, and strike the end of the last sentence as it creates an impression that the exception object cannot be observed without rethrowing.
1 parent 99e4ffd commit 15c21a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

source/exceptions.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,11 +741,14 @@
741741
within the handler.
742742

743743
\pnum
744+
\begin{note}
744745
When the handler declares an object,
745746
any changes to that object will not affect the exception object.
746747
When the handler declares a reference to an object,
747748
any changes to the referenced object are changes to the
748-
exception object and will have effect should that object be rethrown.%
749+
exception object.
750+
\end{note}
751+
%
749752
\indextext{exception handling!handler!match|)}%
750753
\indextext{exception handling!handler|)}
751754

0 commit comments

Comments
 (0)