P1518 does the following in C++23 but we'll just do it in C++17 as well:
- Stop requiring `Alloc` to be an allocator on some container-adaptor deduction guides
- Stop deducing from `Allocator` on some sequence container constructors
- Stop deducing from `Allocator` on some other container constructors (libc++ already did this)
The affected constructors are the "allocator-extended" versions of
constructors where the non-allocator arguments are already sufficient
to deduce the allocator type. For example,
std::pmr::vector<int> v1;
std::vector v2(v1, std::pmr::new_delete_resource());
std::stack s2(v1, std::pmr::new_delete_resource());
Differential Revision: https://reviews.llvm.org/D97742
1.4 KiB
1.4 KiB
| 1 | Paper # | Group | Paper Name | Meeting | Status | First released version |
|---|---|---|---|---|---|---|
| 2 | `P0881R7 <https://wg21.link/P0881R7>`__ | LWG | A Proposal to add stacktrace library | Autumn 2020 | ||
| 3 | `P0943R6 <https://wg21.link/P0943R6>`__ | LWG | Support C atomics in C++ | Autumn 2020 | ||
| 4 | `P1048R1 <https://wg21.link/P1048R1>`__ | LWG | A proposal for a type trait to detect scoped enumerations | Autumn 2020 | |Complete| | 12.0 |
| 5 | `P1679R3 <https://wg21.link/P1679R3>`__ | LWG | string contains function | Autumn 2020 | |Complete| | 12.0 |
| 6 | ||||||
| 7 | `P1682R3 <https://wg21.link/P1682R3>`__ | LWG | std::to_underlying for enumerations | February 2021 | |Complete| | 13.0 |
| 8 | `P2017R1 <https://wg21.link/P2017R1>`__ | LWG | Conditionally borrowed ranges | February 2021 | ||
| 9 | `P2160R1 <https://wg21.link/P2160R1>`__ | LWG | Locks lock lockables | February 2021 | ||
| 10 | `P2162R2 <https://wg21.link/P2162R2>`__ | LWG | Inheriting from std::variant | February 2021 | |Complete| | 13.0 |
| 11 | `P2212R2 <https://wg21.link/P2212R2>`__ | LWG | Relax Requirements for time_point::clock | February 2021 | ||
| 12 | `P2259R1 <https://wg21.link/P2259R1>`__ | LWG | Repairing input range adaptors and counted_iterator | February 2021 | ||
| 13 | ||||||
| 14 | `P1518R2 <https://wg21.link/P1518R2>`__ | LWG | Stop overconstraining allocators in container deduction guides | June 2021 | |Complete| | 13.0 |
| 15 |