Skip to content

Commit f9799b6

Browse files
burblebeetkoeppe
authored andcommitted
CWG2651 Conversion function templates and "noexcept"
Fixes NB US 069 (C++23 CD).
1 parent 30a9b4e commit f9799b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/templates.tex

+4-3
Original file line numberDiff line numberDiff line change
@@ -7721,7 +7721,7 @@
77217721
(call it \tcode{A}) as described in~\ref{temp.deduct.type}.
77227722
If the \grammarterm{conversion-function-id} is constructed during
77237723
overload resolution\iref{over.match.funcs},
7724-
the following transformations apply.
7724+
the rules in the remainder of this subclause apply.
77257725

77267726
\pnum
77277727
If \tcode{P} is a reference type, the type referred to by \tcode{P} is used in place
@@ -7786,8 +7786,9 @@
77867786
(i.e., the type referred to by the reference).
77877787
\item
77887788
If the original \tcode{A} is
7789-
a function pointer or pointer-to-member-function type,
7790-
its \keyword{noexcept}.
7789+
a function pointer or pointer-to-member-function type
7790+
with a potentially-throwing exception specification\iref{except.spec},
7791+
the exception specification.
77917792
\item
77927793
Any cv-qualifiers in \tcode{A}
77937794
that can be restored by a qualification conversion.

0 commit comments

Comments
 (0)