[libcxx-commits] [libcxx] [libc++] Implement P2502R2: `std::generator`: Synchronous Coroutine Generator for Ranges (PR #201854)
Hristo Hristov via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 11 05:36:20 PDT 2026
Zingam wrote:
> * Closes [P2502R2: `std::generator`: Synchronous Coroutine Generator for Ranges #105226](https://github.com/llvm/llvm-project/issues/105226)
> * Closes [P2787R1: `pmr::generator` - Promise Types are not Values #105263](https://github.com/llvm/llvm-project/issues/105263)
> * Closes [LWG3762: `generator::iterator::operator==` should pass by reference #105030](https://github.com/llvm/llvm-project/issues/105030)
> * Closes [LWG3894: `generator::promise_type::yield_value(ranges::elements_of<Rng, Alloc>)` should not be `noexcept` #105274](https://github.com/llvm/llvm-project/issues/105274)
> * Closes [LWG3899: `co_yield`ing elements of an lvalue generator is unnecessarily inefficient #118337](https://github.com/llvm/llvm-project/issues/118337)
> * Closes [LWG3900: The `allocator_arg_t` overloads of `generator::promise_type::operator new` should not be constrained #118338](https://github.com/llvm/llvm-project/issues/118338)
> * Closes [LWG4119: `generator::promise_type::yield_value(ranges::elements_of<R, Alloc>)`'s nested `generator` may be ill-formed #118351](https://github.com/llvm/llvm-project/issues/118351)
>
> Co-authored-by: Xiaoyang Liu [siujoeng.lau at gmail.com](mailto:siujoeng.lau at gmail.com)
AFAIK. It is not a good idea to quote people's emails in the commit message (the top comment) as it will cause them to be spammed by GH with messages.
https://github.com/llvm/llvm-project/pull/201854
More information about the libcxx-commits
mailing list