Linq for list comprehension in C++