1
0
forked from boostorg/mpl

MPL refmanual: for_each doc fixes (thanks to Emil Dotchevski)

[SVN r55858]
This commit is contained in:
Aleksey Gurtovoy
2009-08-29 08:48:11 +00:00
parent d38f271fae
commit b74cf94d04
2 changed files with 4 additions and 4 deletions

View File

@@ -123,7 +123,7 @@ typedef <a href="./next.html" class="identifier">next</a>&lt;i<sub>n</sub>&gt;::
</tr> </tr>
<tr class="field"><th class="field-name">Postcondition:</th><td class="field-body"><p class="first">Equivalent to</p> <tr class="field"><th class="field-name">Postcondition:</th><td class="field-body"><p class="first">Equivalent to</p>
<pre class="last literal-block"> <pre class="last literal-block">
<a href="./for-each.html" class="identifier">for_each</a>&lt; tranform_view&lt;s,op&gt; &gt;( f ); <a href="./for-each.html" class="identifier">for_each</a>&lt; <a href="./transform-view.html" class="identifier">transform_view</a>&lt;s,op&gt; &gt;( f );
</pre> </pre>
</td> </td>
</tr> </tr>
@@ -141,7 +141,7 @@ struct value_printer
{ {
template&lt; typename U &gt; void operator()(U x) template&lt; typename U &gt; void operator()(U x)
{ {
std::cout &lt;&lt; x &lt;&lt; 'n'; std::cout &lt;&lt; x &lt;&lt; '\n';
} }
}; };

View File

@@ -103,7 +103,7 @@ For any |Forward Sequence| ``s``, |Lambda Expression| ``op`` , and an
.. parsed-literal:: .. parsed-literal::
for_each< tranform_view<s,op> >( f ); for_each< transform_view<s,op> >( f );
Complexity Complexity
@@ -121,7 +121,7 @@ Example
{ {
template< typename U > void operator()(U x) template< typename U > void operator()(U x)
{ {
std::cout << x << '\n'; std::cout << x << '\\n';
} }
}; };