Skip to content

Commit 36a989c

Browse files
burblebeetkoeppe
authored andcommitted
CWG2764 Use of placeholders affecting name mangling
1 parent 1227001 commit 36a989c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

source/basic.tex

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,10 +1000,22 @@
10001000
\pnum
10011001
A declaration is \defnx{name-independent}{declaration!name-independent}
10021002
if its name is \tcode{_} (\unicode{005f}{low line}) and it declares
1003+
\begin{itemize}
1004+
\item
10031005
a variable with automatic storage duration,
1004-
a structured binding not inhabiting a namespace scope,
1006+
\item
1007+
a structured binding
1008+
%FIXME: "and" is strange below; maybe reword to something like:
1009+
%FIXME: "that has no \grammarterm{storage-class-specifier} and
1010+
%FIXME: that is not inhabiting a namespace scope,"
1011+
with no \grammarterm{storage-class-specifier} and
1012+
not inhabiting a namespace scope,
1013+
\item
10051014
the variable introduced by an \grammarterm{init-capture}, or
1006-
a non-static data member.
1015+
\item
1016+
%FIXME: "of" is strange below; remove it?
1017+
a non-static data member of other than an anonymous union.
1018+
\end{itemize}
10071019

10081020
\recommended
10091021
Implementations should not emit a warning

0 commit comments

Comments
 (0)