Merges sorted runs. More...
#include <sort_stream.h>


Public Member Functions | |
| runs_merger (const sorted_runs_type &r, value_cmp c, unsigned_type memory_to_use) | |
| Creates a runs merger object. | |
Merges sorted runs.
| RunsType_ | type of the sorted runs, available as runs_creator::sorted_runs_type , | |
| Cmp_ | type of comparison object used for merging | |
| AllocStr_ | allocation strategy used to allocate the blocks for storing intermediate results if several merge passes are required |
| stream::runs_merger< RunsType_, Cmp_, AllocStr_ >::runs_merger | ( | const sorted_runs_type & | r, | |
| value_cmp | c, | |||
| unsigned_type | memory_to_use | |||
| ) | [inline] |
Creates a runs merger object.
| r | input sorted runs object | |
| c | comparison object | |
| memory_to_use | amount of memory available for the merger in bytes |
1.7.1