-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
C++29Targeted at C++29Targeted at C++29EWGEvolutionEvolutionLEWG-focusHigh priority topics for LEWG (broadly effect APIs)High priority topics for LEWG (broadly effect APIs)needs-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
Description
P3032R0 Less transient constexpr allocation (Barry Revzin)
Metadata
Metadata
Assignees
Labels
C++29Targeted at C++29Targeted at C++29EWGEvolutionEvolutionLEWG-focusHigh priority topics for LEWG (broadly effect APIs)High priority topics for LEWG (broadly effect APIs)needs-revisionPaper needs changes before it can proceedPaper needs changes before it can proceed
Type
Projects
Status
Waiting for subgroups
Milestone
Relationships
Development
Select code repository
Activity
hanickadot commentedon Mar 21, 2024
EWG discussed P3032 in Tokyo Thursday PM.
P3032 Less transient constexpr allocation: Forward as is to CWG
| SF | F | N | A | SA |
| 9 | 13 | 1 | 0 | 0 |
Consensus
jensmaurer commentedon Mar 22, 2024
CWG 2024-03-22: Approved for Saturday's plenary straw polls.
jfbastien commentedon Mar 22, 2024
Revisited by EWG in Tokyo on Friday
P3032R1 Less transient constexpr allocation: Forward to CWG as DR for C++20.
SF F N A SA
6 5 3 0 0
Consensus.
jensmaurer commentedon Mar 23, 2024
Plenary 2024-03-23: The paper is missing a change to "permissible result of constant expression" to make the f5 example valid.
7 remaining items
jfbastien commentedon May 27, 2024
Expression case was added since EWG reviewed. Re-scheduling for EWG, will send to CWG after.
jfbastien commentedon Jun 26, 2024
Seen in EWG in St Louis:
Poll: P3032R2 — Less transient constexpr allocation, move the paper as written to CWG for inclusion in C++26, which allows local std::unique_ptr, forbid mutating.
Poll: P3032R2 — Less transient constexpr allocation, change the paper to only allow std::vector and std::basic_string, even for persistent allocation.
Result: the first poll has better consensus, but it could be further increased by obtaining implementation experience. Barry will try to get such experience by the next meeting, at which point we will move the paper to CWG.
inbal2l commentedon Jun 10, 2025
Related to P1974 (#867), P2670 (#1336)