id summary reporter owner description type status milestone component version severity resolution keywords cc 2993 addressof warning in VC9 Fredrik Orderud Peter Dimov "CONFIGURATION: Boost 1.39, Visual studio 2008 (VC9), WARNING LEVEL 4 (most verbose). PROBLEM: When iterating over a std::vector with BOOST_FOREACH, the compiler returns a ""warning C4512: 'boost::detail::addr_impl_ref' : assignment operator could not be generated"". This warning did not appear with boost 1.38. {{{ #pragma once #include #include #include // Compile with warning level 4: int main () { std::vector list; // warning C4512: 'boost::detail::addr_impl_ref' : assignment operator could not be generated BOOST_FOREACH (const int & e, list) { std::cout << e << std::endl; } return 0; } }}} " Bugs closed To Be Determined utility Boost Development Trunk Problem wontfix mateusz@…