[PATCH] D117087: [C++20] [Coroutines] Implement return value optimization for get_return_object
Alkis Evlogimenos via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 26 05:29:58 PST 2023
alkis added a comment.
Herald added a project: All.
Does this change the semantics of `get_return_value()` such that it is eagerly converted to R the return value of the coro? AFAIU before this change one could return T convertible to R and the conversion would happen late - after `final_suspend`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117087/new/
https://reviews.llvm.org/D117087
More information about the cfe-commits
mailing list