Skip to content

Commit 15a43d5

Browse files
authored
[temp.over.link] Reword to clarify that declarations correspond (#5999)
1 parent e62f8e7 commit 15a43d5

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

source/templates.tex

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3908,15 +3908,19 @@
39083908
whether two constructs are equivalent, and they are
39093909
functionally equivalent but not equivalent, the program is ill-formed,
39103910
no diagnostic required.
3911-
% FIXME: What does it mean for two function templates to correspond?
3912-
Furthermore, if two function templates that do not correspond
3911+
Furthermore, if two declarations $A$ and $B$ of function templates
39133912
\begin{itemize}
3914-
\item have the same name,
3915-
\item have corresponding signatures\iref{basic.scope.scope},
3916-
\item would declare the same entity\iref{basic.link} considering them to correspond, and
3917-
% FIXME: What does it mean for a set of template argument lists to satisfy a function template?
3918-
\item accept and are satisfied by the same set of template argument lists,
3913+
\item
3914+
introduce the same name,
3915+
\item
3916+
have corresponding signatures\iref{basic.scope.scope},
3917+
\item
3918+
would declare the same entity,
3919+
when considering $A$ and $B$ to correspond in that determination\iref{basic.link}, and
3920+
\item
3921+
accept and are satisfied by the same set of template argument lists,
39193922
\end{itemize}
3923+
but do not correspond,
39203924
the program is ill-formed, no diagnostic required.
39213925

39223926
\pnum

0 commit comments

Comments
 (0)