diff --git a/doc/refmanual.html b/doc/refmanual.html index 313cf6d..4c36069 100644 --- a/doc/refmanual.html +++ b/doc/refmanual.html @@ -1,52 +1,50 @@ - - -
- +Copyright: | -Copyright © Aleksey Gurtovoy and David Abrahams, 2001-2005. | |
---|---|---|
License: | Distributed under the Boost Software License, Version 1.0. (See -accompanying file LICENSE_1_0.txt or copy at -http://www.boost.org/LICENSE_1_0.txt) | +Copyright © 2001-2009 Aleksey Gurtovoy and David Abrahams |
License: | Distributed under the Boost Software License, Version 1.0. (See +accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) |
template< @@ -30,36 +27,36 @@ struct accumulate };
Returns the result of the successive application of binary ForwardOp to the -result of the previous ForwardOp invocation (State if it's the first call) -and every element of the sequence in the range [begin<Sequence>::type, end<Sequence>::type) in order. -[Note: accumulate is a synonym for fold — end note]
+Returns the result of the successive application of binary ForwardOp to the +result of the previous ForwardOp invocation (State if it's the first call) +and every element of the sequence in the range [begin<Sequence>::type, end<Sequence>::type) in order. +[Note: accumulate is a synonym for fold — end note]
#include <boost/mpl/accumulate.hpp>
Parameter | -Requirement | -Description | +|
---|---|---|---|
Parameter | +Requirement | +Description | |
Sequence | -Forward Sequence | +Forward Sequence | A sequence to iterate. |
State | @@ -68,59 +65,61 @@ and every element of the sequence in the range [|||
ForwardOp | -Binary Lambda Expression | +Binary Lambda Expression | The operation to be executed on forward traversal. |
For any Forward Sequence s, binary Lambda Expression op, and arbitrary type state:
+For any Forward Sequence s, binary Lambda Expression op, and arbitrary type state:
-typedef accumulate<s,state,op>::type t; +typedef accumulate<s,state,op>::type t;-
Return type: | A type. | +
---|---|
Return type: | A type. + |
Semantics: | Equivalent to -typedef fold<s,state,op>::type t; +typedef fold<s,state,op>::type t; |
Linear. Exactly size<s>::value applications of op.