Skip to content

Commit 6e10c48

Browse files
sdkrystianzygoloid
authored andcommitted
[dcl.spec.auto] Denoise wording for when placeholders can deduce from an initializer
1 parent 17e732c commit 6e10c48

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

source/declarations.tex

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1730,12 +1730,8 @@
17301730
each of which shall
17311731
be followed by a non-empty
17321732
\grammarterm{initializer}.
1733-
In an \grammarterm{initializer} of the form
1734-
\begin{codeblock}
1735-
( @\textrm{\grammarterm{expression-list}}@ )
1736-
\end{codeblock}
1737-
the \grammarterm{expression-list} shall be a single
1738-
\grammarterm{assignment-expression}.
1733+
If the \grammarterm{initializer} is a parenthesized \grammarterm{expression-list},
1734+
the \grammarterm{expression-list} shall be a single \grammarterm{assignment-expression}.
17391735
\begin{example}
17401736
\begin{codeblock}
17411737
auto x = 5; // OK: \tcode{x} has type \tcode{int}

0 commit comments

Comments
 (0)