6 Mar
2014
6 Mar
'14
10:05 p.m.
Le 01/03/14 16:32, Thaler Benedek a écrit :
Hi,
Then n3534 shows the following example: [0]
pipeline::execution task( pipeline::from(filenames) | pipeline::parallel(read_file | grep_fn | vgrep_fn | sed_fn, 8) | output_queue).run(&thread_pool);
I can't figure out how to create a segment from "read_file | grep_fn | vgrep_fn | sed_fn" without overloading the free function operator|(function, function). Is this really we want to do? Shouldn't we use pipeline::make() here?
Yes, I think make is missing here. Best, Vicente