Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51791 - trunk/libs/mpl/doc/src/refmanual
From: agurtovoy_at_[hidden]
Date: 2009-03-16 02:28:48


Author: agurtovoy
Date: 2009-03-16 02:28:47 EDT (Mon, 16 Mar 2009)
New Revision: 51791
URL: http://svn.boost.org/trac/boost/changeset/51791

Log:
Fix fold/reverse_fold docs (http://thread.gmane.org/gmane.comp.lib.boost.devel/187366)
Text files modified:
   trunk/libs/mpl/doc/src/refmanual/fold.rst | 7 +++++--
   trunk/libs/mpl/doc/src/refmanual/reverse_fold.rst | 2 +-
   2 files changed, 6 insertions(+), 3 deletions(-)

Modified: trunk/libs/mpl/doc/src/refmanual/fold.rst
==============================================================================
--- trunk/libs/mpl/doc/src/refmanual/fold.rst (original)
+++ trunk/libs/mpl/doc/src/refmanual/fold.rst 2009-03-16 02:28:47 EDT (Mon, 16 Mar 2009)
@@ -75,8 +75,11 @@
         
     .. parsed-literal::
     
- typedef iter_fold< s,state,apply<op,_1,deref<_2> > >::type t;
-
+ typedef iter_fold<
+ s
+ , state
+ , apply2< lambda<op>::type, _1, deref<_2> >
+ >::type t;
 
 
 Complexity

Modified: trunk/libs/mpl/doc/src/refmanual/reverse_fold.rst
==============================================================================
--- trunk/libs/mpl/doc/src/refmanual/reverse_fold.rst (original)
+++ trunk/libs/mpl/doc/src/refmanual/reverse_fold.rst 2009-03-16 02:28:47 EDT (Mon, 16 Mar 2009)
@@ -88,7 +88,7 @@
         typedef reverse_iter_fold<
               s
             , state
- , apply<backward_op,_1,deref<_2> >
+ , apply2< lambda<backward_op>::type, _1, deref<_2> >
>::type t;
 
 


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