Mirror reflection library - Lagoon run-time layer 0.5.13
|
Applying successively a binary functor on a state and every element in a range. More...
#include <lagoon/lagoon_fwd.hpp>
Go to the source code of this file.
Namespaces | |
namespace | lagoon |
The Lagoon run-time layer built on Mirror is defined in this namespace. | |
Functions | |
template<typename State , class Range , typename BinaryOp > | |
State | lagoon::fold (Range range, State state, BinaryOp op) |
Accumulating the results of calling a binary functor on the elements. | |
template<typename State , class Range , typename BinaryOp > | |
State & | lagoon::fold_ref (Range range, State &state_ref, BinaryOp op) |
Accumulating the results of calling a binary functor on the elements. | |
template<typename State , class Range , typename InitialOp , typename DefaultOp , typename FinalOp > | |
State & | lagoon::fold_ref (Range range, State &state_ref, InitialOp initial, DefaultOp op, FinalOp final) |
Accumulating the results of calling a binary functor on the elements. |
Applying successively a binary functor on a state and every element in a range.
Copyright 2008-2010 Matus Chochlik. 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)