File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ std::generator<int> f()
2828</blockquote >
2929<p >
3030This doesn't compile because the overload listed in <sref ref =" [coro.generator.promise]" /> p13
31- requires <tt >convertible_to< ranges::range_reference_t< R> , yielded> </tt > or
32- <tt >convertible_to< int& , int&&> </tt > which isn't satisfied.
31+ requires <tt >convertible_to< ranges::range_reference_t< R> , yielded> </tt > (i.e.
32+ <tt >convertible_to< int& , int&&> </tt >) which isn't satisfied.
3333<p />
3434So it seems clear enough that something got lost in the translation from the design intent to
3535wording. My understanding of the intent is that `co_yield elements_of(rng)` should be
You can’t perform that action at this time.
0 commit comments