This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2026-03-27
Subclause 11.7.3 [class.virtual] paragraph 18 disallows mixing consteval and non-consteval virtual function overrides. This does not cover immediate functions via escalation.
Proposed resolution (approved by CWG 2026-02-20):
Change in 11.7.3 [class.virtual] paragraph 18 as follows:
A class witha constevalan immediate virtual function that overrides a non-immediate virtual functionthat is not constevalshall have consteval-only type (6.9.1 [basic.types.general]).A constevalAn immediate virtual function shall not be overridden by a non-immediate virtual functionthat is not consteval.