List comprehensions for C++