Eric Niebler
Eric Niebler
> It may be worthwhile separating out the platform-specific I/O bits of cppcoro to a separate library (`cppcoro_io`?) so the core fundamental abstractions (`task`, `async_generator`, `when_all()`, etc.) can be used...
Why would `when_all` return a `task`?
> Good idea, @ericniebler :) LOL!
> This could possibly be mitigated by requiring the caller to explicitly start the production of the generator by awaiting a `task` returned by the `async_generator::produce()` member function. > With...
Too ugly.
Yes please. I'm particular, I'm blocked by the not-too-spec way you define `value_type`.
You are right; it shouldn't be a hard error. I had overlooked that part of your bug report. I or @CaseyCarter will investigate.
Someone (@tomaszkam perhaps) should check my work. A word about why the `common_type` specializations are not necessary. All the view adaptors in [P0789](http://wg21.link/P0789) are implicitly convertible to Container-like things. So,...
Oops, you're right about that. :-P EDIT: OK, fixed. The relational operators were unnecessary anyway.
I can implement the same benchmark in range-v3 and show the same effect on any compiler (capable of compiling range-v3, that is). The only reason you were seeing any slow-down...