llvm / llvm-project

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

LWG2727: Parallel algorithms with constexpr specifier #99968

Open cjdb opened 1 month ago

cjdb commented 1 month ago

Link: https://wg21.link/lwg2727

llvmbot commented 1 month ago

@llvm/issue-subscribers-c-17

Author: Christopher Di Bella (cjdb)

frederick-vs-ja commented 1 month ago

LWG3303 (see also #101693) is also in this area.

Both LWG issues seem "Nothing to do" as they're just saying not to add constexpr, and we haven't added anything because the parallel versions are not yet implemented. However, it also possibly makes sense to consider either issue "Complete" when the corresponding parallel algorithms are implemented.

mordante commented 1 month ago

I dislike closing these as Nothing To Do/Complete. When somebody implements the paper that introduces these constexpr changes they might get reviewed and accepted as constexpr. I've seen bugs in libc++ due to closing issues "too early". I much rather close them with the PR that implements the paper.