Possible duplicate:
Is there a LINQ library for C ++?
I am currently working on mixed C # / native C ++ projects, and I find that I really miss LINQ's brevity in my C ++ code.
All I want is basic functionality, that is, write form code;
auto adaptor =
myCollection
.Where([filterlambda])
.Select([transformlambda])
I saw a layout or two to such an extent on blogs / forums; none of which are in operational condition.
I know that there is such a thing as boost :: range, but aside from being anywhere near the purity I am looking for, after I looked at the compiler arguments outside my template fu for a day, I eventually discovered that he was not accepting lambda as arguments; at least not the way it is implemented by the MSVS2010 compiler, which for me is showstopper.
, - ; google , , id ...