Last active
January 8, 2017 15:38
-
-
Save deque-blog/aeca06124f9ba39331f397d7ec23f902 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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