LINQ for C++ (cpplinq) is an extensible C++11 library of higher-order functions for range manipulation. cpplinq draws inspiration from LINQ for C#.
183
stars
40
forks
source link
select with optional index parameter #6
Open
KN4CK3R opened 8 years ago
I implemented the second overload of the select operator which takes the index of the current element in the sequence.
https://msdn.microsoft.com/en-us/library/bb534869%28v=vs.110%29.aspx
Example:
prints