|
STXXL
1.4.1
|
The semantics of the algorithm is equivalent to the STL std::for_each.
stxxl::for_each applies the function object functor to each element in the range [first, last); functor's return value, if any, is ignored. Applications are performed in forward order, i.e. from first to last. stxxl::for_each returns the function object after it has been applied to each element. To overlap I/O and computation nbuffers used (a value at least D is recommended). The size of the buffers is derived from the container that is pointed by the iterators.
| begin | object of model of ext_random_access_iterator concept |
| end | object of model of ext_random_access_iterator concept |
| functor | function object of model of std::UnaryFunction concept |
| nbuffers | number of buffers (blocks) for internal use (should be at least 2*D ) |
functor after it has been applied to the each element of the given rangeExtIterator is a model of External Random Access Iterator.UnaryFunction is a model of STL Unary Function.UnaryFunction does not apply any non-constant operations through its argument.ExtIterator's value type is convertible to UnaryFunction's argument type.[first, last) is a valid range.
I/Os (read-only).