Function bufferedOutputRange
A helper function to create a [BufferedOutputRange] with template types inferred from arguments.
auto bufferedOutputRange(ElemT, ORangeT)
(
ORangeT oRange,
size_t bufSize = 512
);
Parameters
Name | Description |
---|---|
oRange | The OutputRange capable of writing batches of elements, e.g. . |
bufSize | The number of elements to buffer in memory before automatically flushing. |
ElemT | The type of items that can be inserted as batches into ORangeT. This is automatically detected if ORangeT has put methods. |
Note
Automatic detection does not work for std
.