Replace BOOST_FOREACH with C++11 range iterator