Skip to content

Commit f04f4fc

Browse files
authored
[class.virtual] Add \grammarterm for using-declaration (cplusplus#9314)
1 parent 51de607 commit f04f4fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎source/classes.tex‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3820,7 +3820,7 @@
38203820
void foo() {
38213821
C c;
38223822
c.f(); // calls \tcode{B::f}, the final overrider
3823-
c.C::f(); // calls \tcode{A::f} because of the using-declaration
3823+
c.C::f(); // calls \tcode{A::f} because of the \grammarterm{using-declaration}
38243824
}
38253825
\end{codeblock}
38263826
\end{example}

0 commit comments

Comments
 (0)