|
Boost : |
Subject: Re: [boost] [GSoC] pipelines questions
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2014-03-06 17:05:31
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk