|
Stxxl 1.3.1
|
Forms sorted runs of data from a stream. More...
#include <sort_stream.h>


Public Types | |
| typedef base::block_type | block_type |
Public Member Functions | |
| runs_creator (Input_ &i, Cmp_ c, unsigned_type memory_to_use) | |
| Creates the object. | |
Forms sorted runs of data from a stream.
| Input_ | type of the input stream |
| Cmp_ | type of omparison object used for sorting the runs |
| BlockSize_ | size of blocks used to store the runs |
| AllocStr_ | functor that defines allocation strategy for the runs |
| stream::runs_creator< Input_, Cmp_, BlockSize_, AllocStr_ >::runs_creator | ( | Input_ & | i, |
| Cmp_ | c, | ||
| unsigned_type | memory_to_use | ||
| ) | [inline] |
Creates the object.
| i | input stream |
| c | comparator object |
| memory_to_use | memory amount that is allowed to used by the sorter in bytes |
1.7.3