List comprehensions and other functional things for C++