CWG2514 seeks to allow relaxing the rules for modifying const objects: - const subobjects of non-const complete objects can be modified - objects with dynamic storage duration are not const objects - (not in this issue, but related) function parameter objects are not const objects Note the distinction between "const object" and "lvalue of const type"; the latter is not touched. CWG solicits the advice of SG12 in handling this issue.
Activity
erichkeane commentedon Nov 9, 2023
CWG2514 was discussed during the Thursday AM session in Kona in EWG/SG12.
The room unanimously decided that this is something we need a paper for, so Alisdair offered to find an author to provide one.
hanickadot commentedon Jun 24, 2024
EWG St. Louis: GDR volunteered to write a paper tightening the rules.