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 3850
3850
3851
3851
\pnum
3852
3852
If a virtual function \tcode {f} in some class \tcode {B} is marked with the
3853
- \grammarterm {virt-specifier} \tcode {final} and in a class \tcode {D} derived from \tcode {B}
3853
+ \grammarterm {virt-specifier} \keyword {final} and in a class \tcode {D} derived from \tcode {B}
3854
3854
a function \tcode {D::f} overrides \tcode {B::f}, the program is ill-formed.
3855
3855
\begin {example }
3856
3856
\begin {codeblock }
3865
3865
\end {example }
3866
3866
3867
3867
\pnum
3868
- If a virtual function is marked with the \grammarterm {virt-specifier} \tcode {override} and
3868
+ If a virtual function is marked with the \grammarterm {virt-specifier} \keyword {override} and
3869
3869
does not override a member function of a base class, the program is ill-formed.
3870
3870
\begin {example }
3871
3871
\begin {codeblock }
You can’t perform that action at this time.
0 commit comments