boost::pipeline::from
// In header: <boost/pipeline/pipeline.hpp> template<typename QueueBack, typename R> unspecified from(R(*)(QueueBack) generator);
Creates a segment operating on items produced by a generator function.
The generator function receives a
argument and feeds it with the generated items. The underlying queue will be automatically closed upon return of the generator.queue_back
<T>
Parameters: |
|
||
Returns: |
|