I have this code.
boost::for_each(
boost::make_iterator_range(
func(arg1),
func(arg2)
),
[&d, &f](const a<b>& c)
{
something;
}
);
I understand the iterator part of the code. What is not clear to me is over what we iterate. What does this construction mean? [](){}