[libcxx-commits] [libcxx] [libc++] LWG3315: Replace ::new with construct_at in allocator (PR #105593)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 22 10:17:09 PDT 2024


ldionne wrote:

> Not sure whether change should be made here.
> 
> IIUC LWG3315 can only be considered as a patch for [P0784R7](https://wg21.link/p0784r7)/C++20, not to earlier standard revisions, and the operations in "Default" are specified for `allocator_traits`, which has been implemented in LLVM 12.0. Also, the `construct` and `destroy` member functions of `std::allocator` are removed in C++20.

Ah, right. So basically `LWG3315` is already "implemented" and should be marked as "Nothing To Do", I think.

https://github.com/llvm/llvm-project/pull/105593


More information about the libcxx-commits mailing list