Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
template<typename Filter>
auto read_stock_filtered_by(Filter filter) {
return [filter] (auto const& source) {
return source
| transformed(parse_message)
| filtered(filter)
| transformed(to(&stock::m_value));
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment