erenon / pipeline

Pipeline implementation based on n3534

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Pipeline implementation based on n3534


Languages

Language:C++ 100.0%