boost::pipeline::segment<terminated, terminated>
// In header: <boost/pipeline/type_erasure.hpp> class segment<terminated, terminated> { public: // construct/copy/destruct segment(const segment< terminated, terminated > &); segment(unspecified); // public member functions execution run(thread_pool &); };
A complete (left and right-terminated), runnable segment.
segment
public
construct/copy/destructsegment(const segment< terminated, terminated > & rhs);
Copy constructor
segment(unspecified impl);
Creates a segment from any kind of matching segment of unspecified type.
segment<terminated, terminated> s = from(lines) | trim | trimmed_lines; s.run(pool);
Parameters: |
|
segment
public member functionsexecution run(thread_pool & pool);
Schedules the segment on pool
.
Returns: |
An |