Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
auto read_stock_by_id(std::string const& id) {
return read_stock_filtered_by(equaling(id, on(&stock_update::m_id)));
//Assembling the algorithm, the source and the pipeline
std::vector<std::string> fake_source = ... ;
auto result = algorithm(read_stock_by_id("EUR")(fake_source));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment