mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-03 23:04:33 +02:00
Fix fold/reverse_fold docs (http://thread.gmane.org/gmane.comp.lib.boost.devel/187366)
[SVN r51791]
This commit is contained in:
@@ -75,8 +75,11 @@ For any |Forward Sequence| ``s``, binary |Lambda Expression| ``op``, and arbitra
|
||||
|
||||
.. 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
|
||||
|
@@ -88,7 +88,7 @@ and arbitrary type ``state``:
|
||||
typedef reverse_iter_fold<
|
||||
s
|
||||
, state
|
||||
, apply<backward_op,_1,deref<_2> >
|
||||
, apply2< lambda<backward_op>::type, _1, deref<_2> >
|
||||
>::type t;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user