From b74cf94d0441df84edd0eae358c9e68547e30ac4 Mon Sep 17 00:00:00 2001 From: Aleksey Gurtovoy Date: Sat, 29 Aug 2009 08:48:11 +0000 Subject: [PATCH] MPL refmanual: for_each doc fixes (thanks to Emil Dotchevski) [SVN r55858] --- doc/refmanual/for-each.html | 4 ++-- doc/src/refmanual/for_each.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/refmanual/for-each.html b/doc/refmanual/for-each.html index 28b5d54..8761b4a 100644 --- a/doc/refmanual/for-each.html +++ b/doc/refmanual/for-each.html @@ -123,7 +123,7 @@ typedef next<in>:: Postcondition:

Equivalent to

-for_each< tranform_view<s,op> >( f );
+for_each< transform_view<s,op> >( f );
 
@@ -141,7 +141,7 @@ struct value_printer { template< typename U > void operator()(U x) { - std::cout << x << 'n'; + std::cout << x << '\n'; } }; diff --git a/doc/src/refmanual/for_each.rst b/doc/src/refmanual/for_each.rst index f2fce9c..6385605 100644 --- a/doc/src/refmanual/for_each.rst +++ b/doc/src/refmanual/for_each.rst @@ -103,7 +103,7 @@ For any |Forward Sequence| ``s``, |Lambda Expression| ``op`` , and an .. parsed-literal:: - for_each< tranform_view >( f ); + for_each< transform_view >( f ); Complexity @@ -121,7 +121,7 @@ Example { template< typename U > void operator()(U x) { - std::cout << x << '\n'; + std::cout << x << '\\n'; } };