Skip to content

Commit e6bd946

Browse files
zygoloidtkoeppe
authored andcommitted
[basic.scope.scope] Avoid hard-to-read except...unless construction.
Factor out a name for the "unless" condition to avoid the double-negative.
1 parent ebba9f3 commit e6bd946

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/basic.tex

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -938,7 +938,11 @@
938938
function, or
939939
function template, or
940940
\item
941-
each declares a function or function template, except when
941+
each declares a function or function template
942+
and they do not declare corresponding overloads.
943+
\end{itemize}
944+
Two function or function template declarations declare
945+
\defn{corresponding overloads} if:
942946
\begin{itemize}
943947
\item
944948
both declare functions with the same non-object-parameter-type-list,
@@ -955,7 +959,6 @@
955959
\grammarterm{template-head}s and
956960
trailing \grammarterm{requires-clause}s (if any).
957961
\end{itemize}
958-
\end{itemize}
959962
\begin{note}
960963
Declarations can correspond even if neither binds a name.
961964
\begin{example}

0 commit comments

Comments
 (0)