File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3839
3839
3840
3840
\pnum
3841
3841
If a virtual function \tcode {f} in some class \tcode {B} is marked with the
3842
- \grammarterm {virt-specifier} \tcode {final} and in a class \tcode {D} derived from \tcode {B}
3842
+ \grammarterm {virt-specifier} \keyword {final} and in a class \tcode {D} derived from \tcode {B}
3843
3843
a function \tcode {D::f} overrides \tcode {B::f}, the program is ill-formed.
3844
3844
\begin {example }
3845
3845
\begin {codeblock }
3854
3854
\end {example }
3855
3855
3856
3856
\pnum
3857
- If a virtual function is marked with the \grammarterm {virt-specifier} \tcode {override} and
3857
+ If a virtual function is marked with the \grammarterm {virt-specifier} \keyword {override} and
3858
3858
does not override a member function of a base class, the program is ill-formed.
3859
3859
\begin {example }
3860
3860
\begin {codeblock }
You can’t perform that action at this time.
0 commit comments