Repository navigation
[2026-11 CWG Motion 3] P4451R2 Early Adoption of an Always-Enforced Label - #9418
notadragon wants to merge 1 commit into
Conversation
| \defnxname{cpp_constexpr_virtual_inheritance} & \tcode{202506L} \\ \rowsep | ||
| \defnxname{cpp_constinit} & \tcode{201907L} \\ \rowsep | ||
| \defnxname{cpp_contracts} & \tcode{202606L} \\ \rowsep | ||
| \defnxname{cpp_contracts} & \tcode{202611L} \\ \rowsep |
There was a problem hiding this comment.
Previously __cpp_contracts was bumped to 202606L by P3097R3. IIUC P3097R3 targets C++29 while P4451R2 targets C++26. Could the value 202611L cause problem in C++26, as it indicates that P3097R3 is supported, but in fact it's not in C++26?
There was a problem hiding this comment.
interesting times call for interesting solutions.
i think we will want to leave this alone, and then possiblely open a core issue to bump the c++29 macro version.
There was a problem hiding this comment.
Although the value could be arbitrary, I personally slightly prefer to make the C++26 value lower than or equal to 202603L (the value of __cplusplus).
There was a problem hiding this comment.
i wouldn't object to that, but I would revert it from this pr and then just update it in the DIS. (the WD would stay with the p3097 value)
There was a problem hiding this comment.
I see no reason to diverge from the wording that the working group has just approved. I assume they had their reasons.
@jensmaurer Is there an oversight here that we should correct?
There was a problem hiding this comment.
we didn't discuss the point that this c++26 feature would be moved after a c++29 feature. i think we really want the feature test macro order to be p2900 p4451 p3097.
we also have never bumped a feature test macro after the dis befoee. i think we should either drop p4451 to 202603L or bump __cplusplus for this new dis yo 202611L
There was a problem hiding this comment.
on my van:
poll: this van recommends requesting the editors to bump __cplusplus to match the date of the DIS.
SF F N A SA
5 0 0 0 0
result: strong consensus
There was a problem hiding this comment.
to match the date of the DIS.
Dis is very imprecisely worded.
There was a problem hiding this comment.
the entire admin group moved to form the van group with me as chair. lewgi and sg23 seconded.
932073f to
559872f
Compare
Fixes #9399
Also fixes cplusplus/papers#2950