Skip to content

Commit e289781

Browse files
committed
CWG2496 ref-qualifiers and virtual overriding
1 parent 7143236 commit e289781

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

source/classes.tex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3726,6 +3726,10 @@
37263726
\end{codeblock}
37273727
\end{example}
37283728

3729+
\pnum
3730+
The \grammarterm{ref-qualifier}, or lack thereof, of an overriding function
3731+
shall be the same as that of the overridden function.
3732+
37293733
\pnum
37303734
The return type of an overriding function shall be either identical to
37313735
the return type of the overridden function or \defnx{covariant}{return type!covariant} with

0 commit comments

Comments
 (0)