Kris Braun
--- David Abrahams
wrote: Need more details. Post a reproducible test that fails compilation and I might be able to solve your problem.
Okay, here's all the code for the test:
Thomas sez:
From: Thomas Witt
--- David Abrahams
wrote: Need more details. Post a reproducible test that fails compilation and I might be able to solve your problem. Okay, here's all the code for the test:
Either I am going nuts or this is a compiler problem adding the
following line before foo makes the code compile for me
BOOST_STATIC_ASSERT((boost::is_convertible
void foo( void ) { Foo f; for( const_iterator i = f.begin( ); i != f.end( ); ++i ) { } }
Could you please check whether you get the same result. Thomas -- Dave Abrahams Boost Consulting www.boost-consulting.com