Patrick Loney wrote:
Using boost 1.34.1, attempting a simple iteration over a std::list using BOOST_FOREACH and getting various compile errors all linked to mpl as below
d:\Projects\boost\boost_1_34_1\boost/foreach.hpp(123) : error C3083: 'mpl': the symbol to the left of a '::' must be a type d:\Projects\boost\boost_1_34_1\boost/foreach.hpp(125) : see reference to class template instantiation 'Operations::boost::foreach::is_lightweight_proxy<T>' being compiled
"Operations::boost"?
I have no idea what mpl is and haven't linked in any new libraries to allow use of foreach. Any ideas what I'm doing wrong?
Yes. You've probably done something like this:
namespace Operations
{
#include