Left-associative fold of a structure using a binary operation. More...
#include <boost/mpl11/fwd/foldable.hpp>
Left-associative fold of a structure using a binary operation.
Specifically, returns the result of the successive application of the binary operation f
to the result of the previous f
invocation (or state
for the first application) and every element of the structure in order. For example, if the structure contains x1, x2, ..., xn
:
foldl
is equivalent to the fold
metafunction from the original MPL. However, the order of the arguments has changed.