Adding currying and filter example for C++.