Skip to content

Commit c9bce4c

Browse files
Andreas-Krugtkoeppe
authored andcommitted
[dcl.fct.default] Add \tcode for a
1 parent 00102f1 commit c9bce4c

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
@@ -4524,7 +4524,7 @@
45244524
int mem1(int i = a); // error: non-static member \tcode{a} used as default argument
45254525
int mem2(int i = b); // OK, use \tcode{X::b}
45264526
consteval void mem3(std::meta::info r = ^^a) {} // OK
4527-
int mem4(int i = [:^^a:]); // error: non-static member a designated in default argument
4527+
int mem4(int i = [:^^a:]); // error: non-static member \tcode{a} designated in default argument
45284528
static int b;
45294529
};
45304530
\end{codeblock}

0 commit comments

Comments
 (0)