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
P0401 Providing size feedback in the Allocator interface #401
Comments
Design goes to LEWG first, not targeting C++20. |
We want a feature like this. Name choice: Prefer a struct (probably named allocate_at_least_result_t) with named elements (vs requirement of structured bindings). Revise and return. |
P0401R2 Providing size feedback in the Allocator interface (Chris Kennelly, Jonathan Wakely) |
P0401R3 Providing size feedback in the Allocator interface (Chris Kennelly, Jonathan Wakely) |
POLL: We prefer to return number of bytes.
This has no consensus. POLL: Change the template parameter to sized_ptr_t to pointer type (to support fancy ptr). Unanimous consent POLL: We want to deduce the object type from the allocator (alloc_least_n).
This has consensus. POLL: We like the design, please revise and do initial wording review (with Pablo, and David Stone) send to LWG (tentatively Ready).
This has consensus. |
R2 needed a revision, R3 has been published. Clearing the needs-revision tag. |
P0401R4 Providing size feedback in the Allocator interface (Chris Kennelly, Jonathan Wakely) |
P0401R5 Providing size feedback in the Allocator interface (Chris Kennelly, Jonathan Wakely) |
LWG completed review of the paper on 2021-01-22 telecon. Some minor feedback to be checked by Tim after update. https://wiki.edg.com/bin/view/Wg21telecons2021/P0401-20210122 Adopt P0401 Size Feedback in Allocator for C++23? F | N | A8 | 0 | 0 |
P0401R6 Providing size feedback in the Allocator interface (Chris Kennelly, Jonathan Wakely) |
Adopted 2021-06. |
P0401R1 Providing size feedback in the Allocator interface (Chris Kennelly, Jonathan Wakely)
The text was updated successfully, but these errors were encountered: