mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-01 05:44:37 +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 class="field"><th class="field-name">Postcondition:</th><td class="field-body"><p class="first">Equivalent to</p>
|
||||
<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>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -141,7 +141,7 @@ struct value_printer
|
||||
{
|
||||
template< typename U > void operator()(U x)
|
||||
{
|
||||
std::cout << x << 'n';
|
||||
std::cout << x << '\n';
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user