Skip to content

Commit 3c4966f

Browse files
committed
Minor discussion text improvement upon request of submitter
1 parent 5015be0 commit 3c4966f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xml/issue4418.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ std::generator<int> f()
2828
</blockquote>
2929
<p>
3030
This doesn't compile because the overload listed in <sref ref="[coro.generator.promise]"/> p13
31-
requires <tt>convertible_to&lt;ranges::range_reference_t&lt;R&gt;, yielded&gt;</tt> or
32-
<tt>convertible_to&lt;int&amp;, int&amp;&amp;&gt;</tt> which isn't satisfied.
31+
requires <tt>convertible_to&lt;ranges::range_reference_t&lt;R&gt;, yielded&gt;</tt> (i.e.
32+
<tt>convertible_to&lt;int&amp;, int&amp;&amp;&gt;</tt>) which isn't satisfied.
3333
<p/>
3434
So it seems clear enough that something got lost in the translation from the design intent to
3535
wording. My understanding of the intent is that `co_yield elements_of(rng)` should be

0 commit comments

Comments
 (0)