New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
P1413 Deprecate std::aligned_storage and std::aligned_union #197
Comments
P1413R1 Deprecate std::aligned_storage and std::aligned_union (CJ Johnson) |
P1413R0 Champion: CJ Johnson Minute Taker: JeanHeyd Meneide Start Overview: 13:54 Start Discussion: 14:01 Don’t want both a type trait and a type alias; we want just the type alias. aligned_storage is /at least/ as large and /at least/ as aligned. Start Polling: POLL: We should promise more committee time to pursuing std::aligned_storage_for as a new type alias which is not implemented in terms of std::aligned_storage, knowing that our time is scarce and this will leave less time for other work. NO OBJECTION TO UNANIMOUS CONSENT Attendance: 12 POLL: Deprecate aligned_storage with the shipment of this feature. NO OBJECTION TO UNANIMOUS CONSENT Attendance: 12 POLL: Someone should write a paper to deprecate aligned_union, knowing that our time is scarce and this will leave less time for other work.
Attendance: 12 That has strong consensus. POLL: We should promise more committee time to pursuing P1413R0 revised as specified above, to be reviewed again by LEWGI, for C++20, knowing that our time is scarce and this will leave less time for other work.
Attendance: 12 That has strong consensus. Volunteers: Eric F to help CJ revise P1413R0, Jonathan W + Eric F + CJ to write the deprecate aligned_union paper. End: 14:16 |
P1413R1 Deprecate Champion: CJ Johnson Minute Taker: Adrian Cowan Start Overview: 07-15 13:58 Start Review: 14:00 Start Polling: 14:04 POLL: Forward P1413R1 to LEWG for C++23.
That has strong consensus. Attendance: 20 End: 14:05 CONSENSUS: Forward P1413R1 to LEWG for C++23. |
P1413R2 Deprecate std::aligned_storage and std::aligned_union (CJ Johnson) |
P1413R2 Deprecate Chair: Bryce Adelstein Lelbach Champion: CJ Johnson Minute Taker: Inbal Levi Start Review: 2020-02-13 16:54 Examples: Yes, in paper. Wording: Start Polling: 17:05 POLL: If we deprecate
Attendance: 29 # of Authors: 1 Author Position: SA POLL: Forward P1413R2 (Deprecate
Attendance: 29 # of Authors: 1 Author Position: SF That has unanimous consent. End: 17:15 CONSENSUS: LEWG sends P1413R2 (Deprecate |
LWG reviewed 2021-02-05 and requested changes https://wiki.edg.com/bin/view/Wg21telecons2021/P1413-20210205 |
1. Removed dependency on std::aligned_storage (which will be deprecated in C++23; see also cplusplus/papers#197). 2. Removed redundant static_assert's. 3. Guaranteed the placement new-expression calls global operator new.
P1413R3 Deprecate std::aligned_storage and std::aligned_union (CJ Johnson) |
LWG reviewed an approved: https://wiki.edg.com/bin/view/Wg21telecons2021/P1413-2021103 poll: put p1413r3 into the C++23 working paper
present: 12 |
Add some scaffolding to prevent us from running into BC issues due to the underspecified nature of std::aligned_storage. Qt 5.15 uses a union { char[], double, qint64 } instead of std::aligned_storage, so doesn't need the fix. References: - cplusplus/papers#197 - wg21.link/p1413 Task-number: QTBUG-99122 Pick-to: 6.3 6.2 Change-Id: I212be7000376c2db33b8cb244a6e862cc4dad544 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Add some scaffolding to prevent us from running into BC issues due to the underspecified nature of std::aligned_storage. Qt 5.15 uses a union { char[], double, qint64 } instead of std::aligned_storage, so doesn't need the fix. References: - cplusplus/papers#197 - wg21.link/p1413 Task-number: QTBUG-99122 Change-Id: I212be7000376c2db33b8cb244a6e862cc4dad544 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 9a7d2a7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Add some scaffolding to prevent us from running into BC issues due to the underspecified nature of std::aligned_storage. Qt 5.15 uses a union { char[], double, qint64 } instead of std::aligned_storage, so doesn't need the fix. References: - cplusplus/papers#197 - wg21.link/p1413 Task-number: QTBUG-99122 Change-Id: I212be7000376c2db33b8cb244a6e862cc4dad544 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 9a7d2a7) Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Approved by WG21 plenary 2022-02-07 |
…in C++23) ... by rolling our own. Qt 5.15 uses a pointer (additional indirection), not aligned_storage, so isn't affected. References: - cplusplus/papers#197 - https://wg21.link/p1413 Pick-to: 6.4 6.2 Task-number: QTBUG-99122 Change-Id: Ia116dc11336901a19fc227fb68ac266c1bfbbcb1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
…in C++23) ... by rolling our own. Qt 5.15 uses a pointer (additional indirection), not aligned_storage, so isn't affected. References: - cplusplus/papers#197 - https://wg21.link/p1413 Task-number: QTBUG-99122 Change-Id: Ia116dc11336901a19fc227fb68ac266c1bfbbcb1 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> (cherry picked from commit 6e9a9ed) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
P1413R0 A safer interface for std::aligned_storage (CJ Johnson)
The text was updated successfully, but these errors were encountered: