Skip to content

Commit 5f27667

Browse files
committed
CWG2651 Conversion function templates and "noexcept"
Also fixes NB US 29-069 (C++23 CD).
1 parent 9d9396a commit 5f27667

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/templates.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7682,7 +7682,7 @@
76827682
(call it \tcode{A}) as described in~\ref{temp.deduct.type}.
76837683
If the \grammarterm{conversion-function-id} is constructed during
76847684
overload resolution\iref{over.match.funcs},
7685-
the following transformations apply.
7685+
the rules in the remainder of this subclause apply.
76867686

76877687
\pnum
76887688
If \tcode{P} is a reference type, the type referred to by \tcode{P} is used in place
@@ -7747,8 +7747,9 @@
77477747
(i.e., the type referred to by the reference).
77487748
\item
77497749
If the original \tcode{A} is
7750-
a function pointer or pointer-to-member-function type,
7751-
its \keyword{noexcept}.
7750+
a function pointer or pointer-to-member-function type
7751+
with a potentially-throwing exception specification\iref{except.spec},
7752+
the exception specification.
77527753
\item
77537754
Any cv-qualifiers in \tcode{A}
77547755
that can be restored by a qualification conversion.

0 commit comments

Comments
 (0)