I was wondering, how can I iterate over query results without putting them into a vector first?
So for example, if I do this:
for (auto const & item : (cpplinq::from(ins) >> cpplinq::distinct() >> cpplinq::to_vector()))
{
//stuff
}
I would rather iterate over each item in-place, without making a copy, is there a way to do this?