STXXL
1.4-dev
|
The semantics of the algorithm are equivalent to the STL std::generate.
Generate assigns the result of invoking generator
, a function object that takes no arguments, to each element in the range [first, last). To overlap I/O and computation nbuffers
are 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 |
generator | function object of model of std::generator concept |
nbuffers | number of buffers (blocks) for internal use (should be at least 2*D, or zero for automaticl 2*D) |
ExtIterator
is a model of External Random Access Iterator.ExtIterator
is mutable.Generator
is a model of a STL Generator.Generator's
result type is convertible to ExtIterator's
value type.[first, last) is a valid range.