[boost] improved BOOST_FOREACH (was: L-values and R-values)