Skip to content

Commit 69600e3

Browse files
eisenwavetkoeppe
authored andcommitted
CWG3117 Overriding by a consteval virtual function
1 parent 592416f commit 69600e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/classes.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4187,8 +4187,9 @@
41874187
\indextext{function!virtual|)}
41884188

41894189
\pnum
4190-
A \keyword{consteval} virtual function shall not override
4191-
a virtual function that is not \keyword{consteval}.
4190+
A class with a \keyword{consteval} virtual function that overrides
4191+
a virtual function that is not \keyword{consteval}
4192+
shall have consteval-only type\iref{basic.types.general}.
41924193
A \keyword{consteval} virtual function shall not be overridden by
41934194
a virtual function that is not \keyword{consteval}.
41944195

0 commit comments

Comments
 (0)