llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.83k stars 11.46k forks source link

LWG2593: Moved-from state of Allocators #100220

Open cjdb opened 1 month ago

cjdb commented 1 month ago

Link: https://wg21.link/lwg2593

llvmbot commented 1 month ago

@llvm/issue-subscribers-c-20

Author: Christopher Di Bella (cjdb)

frederick-vs-ja commented 1 month ago

Possibly nothing to do. I'm not aware of libc++ (or any other standard library implementation) even provided such a weird allocator type which did't meet the strengthened requirement.

But the test_allocator in the test suits needs to be fixed. https://github.com/llvm/llvm-project/blob/8b26c02caaa002edc2d70af9e6a8024c4b1343cf/libcxx/test/support/test_allocator.h#L121-L130