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'; } };