Created on 2026-02-06.00:00:00 last changed 2 weeks ago
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.
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.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2026-02-20 22:26:13 | admin | set | status: open -> tentatively ready |
| 2026-02-18 21:04:32 | admin | set | messages: + msg8476 |
| 2026-02-06 00:00:00 | admin | create | |