cplusplus / papers

ISO/IEC JTC1 SC22 WG21 paper scheduling and management
646 stars 18 forks source link

LWG2095 and LWG3003: allocator-extended constructors for std::promise #1580

Open jwakely opened 1 year ago

jwakely commented 1 year ago

https://cplusplus.github.io/LWG/issue2095 https://cplusplus.github.io/LWG/issue3003

These two issues suggest two contradictory changes to std::promise. LWG would like LEWG to decide whether to add the missing constructors, or remove the existing allocator-extended constructors.

inbal2l commented 1 year ago

The issue was discussed in Library Evolution Telecon on 2023-07-25 Full Minutes.

Polls

No polls were taken

Next Steps

Jonathan will come back with a proposed resolution that aligns with Tim’s suggestion, LEWG will vote on the proposed resolution.

jwakely commented 3 weeks ago

Please see the updated proposed resolution for LWG3003, which would resolve both 3003 and 2095.

The new approach is: