Returns the result of the successive application of binary <code>ForwardOp</code> to the result of the previous <code>ForwardOp</code> invocation (<code>State</code> if it's the first call) and each iterator in the range <code>[begin<Sequence>::type,end<Sequence>::type)</code> in the linear order.
<tr><td><code>typedef iter_fold<Sequence,T,Op>::type t;</code></td><td>A type</td><td></td><td>Equivalent to <code>typedef lambda<Op>::type op; typedef begin<Sequence>::type i1; typedef apply<op,T,i1>::type t1; typedef i1::next i2; typedef apply<op,t1,i2>::type t2; ...; typedef apply<op,T,in>::type tn; typedef in::next last; typedef tn t</code>, where <code>n == size<Sequence>::type::value</code> and <code>last</code> is identical to <code>end<Sequence>::type</code>; Equivalent to <code>typedef T t;</code> if the sequence is empty.</td><td></td></tr>
</table>
<p>
<h3>Complexity</h3>
<p>
Linear. Exactly <code><ahref="../Reference/size.html">size</a><Sequence>::type::value</code> applications of <code>ForwardOp</code>.