Skip to content

Commit 7fe7519

Browse files
AlisdairMtkoeppe
authored andcommitted
[except.handle] Remove confusing comparison to variadic functions
The analogy that the ellipsis in an exception handler was similar to an ellipsis in a function declaration may have made sense at one time, but the comparison with a syntax using a macro based API calling 'va_arg' to access its contents --- something that is not possible for an exception handler --- seems more confusing than helpful today.
1 parent 47da0e8 commit 7fe7519

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/exceptions.tex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -604,10 +604,7 @@
604604
\tcode{...}
605605
in a handler's
606606
\grammarterm{exception-declaration}
607-
functions similarly to
608-
\tcode{...}
609-
in a function parameter declaration;
610-
it specifies a match for any exception.
607+
specifies a match for any exception.
611608
If present, a
612609
\tcode{...}
613610
handler shall be the last handler for its try block.

0 commit comments

Comments
 (0)