Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 868 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 868 Bytes

Boost.Pipeline

C++ Pipeline implementation based on N3534. Development of this library is founded by Google through the GSoC 2014 program. Please refer to the documentation for more information.

Example

Using pipelines it's easy do define isolated transformations which can run parallel.

The following example uses this library preview and its full version can be found in the example/ directory.

auto grep_error = std::bind(grep, "Error.*", _1, _2);

(boost::pipeline::from(input)
  | trim
  | grep_error
  | [] (const std::string& item) { return "-> " + item; }
  | output
).run(pool);

Feedback

Altough the library is not stable and under development, feedback is welcome.