mirror of
https://github.com/boostorg/mpl.git
synced 2025-08-04 07:14:30 +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::
|
.. 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
|
Complexity
|
||||||
|
@@ -88,7 +88,7 @@ and arbitrary type ``state``:
|
|||||||
typedef reverse_iter_fold<
|
typedef reverse_iter_fold<
|
||||||
s
|
s
|
||||||
, state
|
, state
|
||||||
, apply<backward_op,_1,deref<_2> >
|
, apply2< lambda<backward_op>::type, _1, deref<_2> >
|
||||||
>::type t;
|
>::type t;
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user