Mirror reflection library 0.5.13
|
Returns the result of successive application of ForwardOp on the range. More...
#include <mirror/meta_prog/fold.hpp>
Public Types | |
typedef unspecified_type | type |
The result of the operation. | |
typedef fold< typename X::type, Status, ForwardOp >::type | type |
Public Member Functions | |
MIRROR_ASSERT_RETURNS_RANGE (X) |
Returns the result of successive application of ForwardOp on the range.
This meta-function returns the result of successive application of the binary forward operation on the status and all the items in the range passed as argument.
Range | the range to traverse |
Status | the initial status for the first call of the ForwardOp |
ForwardOp | the operation to be executed during the traversal |