Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r55858 - in trunk/libs/mpl/doc: refmanual src/refmanual
From: agurtovoy_at_[hidden]
Date: 2009-08-29 04:48:12


Author: agurtovoy
Date: 2009-08-29 04:48:11 EDT (Sat, 29 Aug 2009)
New Revision: 55858
URL: http://svn.boost.org/trac/boost/changeset/55858

Log:
MPL refmanual: for_each doc fixes (thanks to Emil Dotchevski)
Text files modified:
   trunk/libs/mpl/doc/refmanual/for-each.html | 4 ++--
   trunk/libs/mpl/doc/src/refmanual/for_each.rst | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/mpl/doc/refmanual/for-each.html
==============================================================================
--- trunk/libs/mpl/doc/refmanual/for-each.html (original)
+++ trunk/libs/mpl/doc/refmanual/for-each.html 2009-08-29 04:48:11 EDT (Sat, 29 Aug 2009)
@@ -123,7 +123,7 @@
 </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">
-for_each&lt; tranform_view&lt;s,op&gt; &gt;( f );
+for_each&lt; transform_view&lt;s,op&gt; &gt;( f );
 </pre>
 </td>
 </tr>
@@ -141,7 +141,7 @@
 {
     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';
     }
 };
 

Modified: trunk/libs/mpl/doc/src/refmanual/for_each.rst
==============================================================================
--- trunk/libs/mpl/doc/src/refmanual/for_each.rst (original)
+++ trunk/libs/mpl/doc/src/refmanual/for_each.rst 2009-08-29 04:48:11 EDT (Sat, 29 Aug 2009)
@@ -103,7 +103,7 @@
         
     .. parsed-literal::
 
- for_each< tranform_view<s,op> >( f );
+ for_each< transform_view<s,op> >( f );
 
 
 Complexity
@@ -121,7 +121,7 @@
     {
         template< typename U > void operator()(U x)
         {
- std::cout << x << '\n';
+ std::cout << x << '\\n';
         }
     };
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk