We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29d39cd commit 7c88bd8Copy full SHA for 7c88bd8
source/declarations.tex
@@ -4530,7 +4530,7 @@
4530
int mem1(int i = a); // error: non-static member \tcode{a} used as default argument
4531
int mem2(int i = b); // OK, use \tcode{X::b}
4532
consteval void mem3(std::meta::info r = ^^a) {} // OK
4533
- int mem4(int i = [:^^a:]); // error: non-static member a designated in default argument
+ int mem4(int i = [:^^a:]); // error: non-static member \tcode{a} designated in default argument
4534
static int b;
4535
};
4536
\end{codeblock}
0 commit comments