1
0
forked from boostorg/mp11

Change back mp_for_each to not use mp_identity

This commit is contained in:
Peter Dimov
2017-05-29 03:04:12 +03:00
parent 75f7f442fa
commit c7923ca041
4 changed files with 7 additions and 9 deletions

View File

@@ -2029,7 +2029,7 @@
</pre>
<p>
<code class="computeroutput"><span class="identifier">mp_for_each</span><span class="special">&lt;</span><span class="identifier">L</span><span class="special">&gt;(</span><span class="identifier">f</span><span class="special">)</span></code> calls
<code class="computeroutput"><span class="identifier">f</span></code> with <code class="computeroutput"><span class="identifier">mp_identity</span><span class="special">&lt;</span><span class="identifier">T</span><span class="special">&gt;()</span></code> for each element <code class="computeroutput"><span class="identifier">T</span></code>
<code class="computeroutput"><span class="identifier">f</span></code> with <code class="computeroutput"><span class="identifier">T</span><span class="special">()</span></code> for each element <code class="computeroutput"><span class="identifier">T</span></code>
of the list <code class="computeroutput"><span class="identifier">L</span></code>, in order.
</p>
<p>
@@ -2504,7 +2504,7 @@
</div>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"><p><small>Last revised: May 25, 2017 at 18:31:25 GMT</small></p></td>
<td align="left"><p><small>Last revised: May 28, 2017 at 23:51:44 GMT</small></p></td>
<td align="right"><div class="copyright-footer"></div></td>
</tr></table>
<hr>