c++ - Combining Streams and Iteration in STXXL -


stxxl supports streaming model of data processing. stxxl data can either processed iterating through (e.g. using stxxl::for_each), or converting stream mode (e.g. using streamify() such stream transforms can composed efficient processing. stream results can converted iterators using materialize().

i have bunch of stream transforms, want apply input stream. however, not need store result in output "container".
need materialize-like function drives stream without taking output iterators - stxxl::for_each.
there such similar function in stxxl?

naturally, can write custom "do-nothing"-output-iterators , pass these materialize(), wondering if there more elegant solution.

there stxxl::stream::discard. takes stream , throws away results.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -