Jonathan Wakely <jwak...@redhat.com> writes:

> This was approved in Wrocław as LWG 3899.
>
> This avoids creating a new coroutine frame to co_yield the elements of
> an lvalue generator.
>
> libstdc++-v3/ChangeLog:
>
>       * include/std/generator (generator::yield_value): Add overload
>       taking lvalue element_of view, as per LWG 3899.
>       * testsuite/24_iterators/range_generators/lwg3899.cc: New test.
> ---
>
> Added a testcase (thanks to Arsen).
>
> Tested x86_64-linux.
>

LGTM also, assuming the test still passes :-)

Thank you again!
-- 
Arsen Arsenović

Attachment: signature.asc
Description: PGP signature

Reply via email to