Possible Duplicate:
Is there a LINQ library for C++?
I am currently working on mixed C# / native C++ projects, and I find I sorely miss the conciseness of LINQ in my C++ code.
All I want is the core functionality, that is, to write code of the form;
auto adaptor =
myCollection
.Where([filterlambda])
.Select([transformlambda])
Ive seen a mockup or two to that extent on blogs/forums; neither of which are in a useable state.
I know there is such a thing as boost::range, but aside from being nowhere near the cleanliness im looking for, after staring at compiler arguments way beyond my template-fu for a day, I eventually discovered it doesnt take lambdas as arguments; at least not as implemented by the MSVS2010 compiler, which is a showstopper for me.
I cant believe something like this doesnt exist yet; google seems pretty insistent on the matter though, but id love to be proven wrong...