mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-02 14:24:30 +02:00
MPL refmanual: for_each doc fixes (thanks to Emil Dotchevski)
[SVN r55858]
This commit is contained in:
committed by
Daniel James
parent
acdd0e5a92
commit
4cee88eae9
@@ -123,7 +123,7 @@ typedef <a href="./next.html" class="identifier">next</a><i<sub>n</sub>>::
|
|||||||
</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>< tranform_view<s,op> >( f );
|
<a href="./for-each.html" class="identifier">for_each</a>< <a href="./transform-view.html" class="identifier">transform_view</a><s,op> >( f );
|
||||||
</pre>
|
</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -141,7 +141,7 @@ struct value_printer
|
|||||||
{
|
{
|
||||||
template< typename U > void operator()(U x)
|
template< typename U > void operator()(U x)
|
||||||
{
|
{
|
||||||
std::cout << x << 'n';
|
std::cout << x << '\n';
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user