Skip to content

Commit a06b7a4

Browse files
jensmaurertkoeppe
authored andcommitted
[dcl.list.init] Make spacing around & declarator operator locally consistent. (#3353)
Fixes NB JP 057 (C++20 CD)
1 parent b421913 commit a06b7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/declarations.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5680,7 +5680,7 @@
56805680

56815681
struct A { } a;
56825682
struct B { explicit B(const A&); };
5683-
const B &b2{a}; // error: cannot copy-list-initialize \tcode{B} temporary from \tcode{A}
5683+
const B& b2{a}; // error: cannot copy-list-initialize \tcode{B} temporary from \tcode{A}
56845684
\end{codeblock}
56855685
\end{example}
56865686

0 commit comments

Comments
 (0)