[boost] nested BOOST_FOREACH and -Wshadow