id summary reporter owner description type status milestone component version severity resolution keywords cc 1814 foreach broken by is_char_array mpl assertion. pluto@… Eric Niebler "please consider following testcase that works fine with boost-1.34: {{{ struct IV { typedef std::vector< int > C; typedef C::const_iterator const_iterator; virtual const_iterator begin() const = 0; virtual const_iterator end() const = 0; }; void test_foreach( IV const& iv ) { BOOST_FOREACH( int i, iv ) { } } }}} with boost-1.35 i got an error: {{{ boost/foreach.hpp(357) : error C2259: 'IV' : cannot instantiate abstract class due to following members: 'IV::const_iterator IV::begin(void) const' : is abstract (...) 'IV::const_iterator IV::end(void) const' : is abstract (...) boost/foreach.hpp(357) : see reference to class template instantiation 'boost::foreach_detail_::foreach_iterator::IS_THIS_AN_ARRAY_OR_A_NULL_TERMINATED_STRING23' being compiled (...) }}}" Bugs closed To Be Determined foreach Boost 1.35.0 Regression fixed