Use IMP_FOREACH rather than BOOST_FOREACH.